BizTalk Server General - Receive Shape - Activate Property False

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > April 2004 > Receive Shape - Activate Property False





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Receive Shape - Activate Property False
Sam

2004-04-14, 3:34 pm

Hi

In my main orchestration I am using receive shape to receive a XML document. I set its Activate property to true and I apply a filter condition such as

If value = "A" then Call Suborchestration A
If value = "B" then call Suborchestration B
If value = "C" then call Suborchestration C

I need to pass the same XML document to each suborchestration and in each suborchestration
I have a receive shape which would receive this XML document. The Activate property is set to False here.
Is this correct? My aim is to apply filter condition again on these suborchestrations such as

If action = "ADD" then generate FlatFile1 and store it in a folder
If action = "DEL" then generate FlatFile2 and store it in a folder

Once each suborchestration finishes off, the main orchestration has to get executed further where each sub orchestration is
bound to a send port and these flat files have to be ftp'd.

Any idea / Help on achieving this.
Christof

2004-04-14, 3:34 pm

So, you mean that you need publish subscribe between orchestrations? Can be
be done using direct bound ports. (called 'MBox' binding)

Also look at:
http://www.microsoft.com/belux/NL/m...ro_bts2004.mspx

Regards,
Christof


"Sam" <anonymous@discussions.microsoft.com> wrote in message
news:18675BD8-679A-4009-BCF8-969AC6EE60DD@microsoft.com...
> Hi
>
> In my main orchestration I am using receive shape to receive a XML

document. I set its Activate property to true and I apply a filter condition
such as
>
> If value = "A" then Call Suborchestration A
> If value = "B" then call Suborchestration B
> If value = "C" then call Suborchestration C
>
> I need to pass the same XML document to each suborchestration and in each

suborchestration
> I have a receive shape which would receive this XML document. The Activate

property is set to False here.
> Is this correct? My aim is to apply filter condition again on these

suborchestrations such as
>
> If action = "ADD" then generate FlatFile1 and store it in a folder
> If action = "DEL" then generate FlatFile2 and store it in a folder
>
> Once each suborchestration finishes off, the main orchestration has to get

executed further where each sub orchestration is
> bound to a send port and these flat files have to be ftp'd.
>
> Any idea / Help on achieving this.



Sam

2004-04-15, 1:37 am

Hi christof

Can you be elaborate on that. I also looked into the article/luink sent by you. But i could not find a direct example

Thanks
Christof

2004-04-18, 10:53 am

When creating a port in an orchestration you have several option regarding
its binding. (Like I expose in the paper.) One of it is direct binding.
This basically allows you to drop messages directly on the message box.

Same goes for your receive port. If you bind the rcv port directly to the
mbox and make it an activate receive, it matches the subscription on any
messages that come in to the mbox. Which makes it publish subscribe
related to other orchestrations.

On what particular points isn't the paper clear? Can I clarify any other
things? Any feedback is welcome Sam :-)

Regards!
Christof


"Sam" <anonymous@discussions.microsoft.com> wrote in message
news:D60AE77B-F568-419A-93B3-54C7D6B6FC8A@microsoft.com...
> Hi christof
>
> Can you be elaborate on that. I also looked into the article/luink sent by

you. But i could not find a direct example
>
> Thanks



Sam

2004-04-25, 1:34 am

Hi Christof

How this Publish-Subscription work? Basically I would like to know what should I do to invoke the corresponding sub orchestrations depending on the success of filter consition.

Assuming in my main orchestration I have a receive shape with filter condition saying If value == "A" execute Sub orchestration A.

How will I specify multiple consitidons here and also how to invioke each sub orchestrations?

Do I need to use call orchestration shape to do that?

Thanks
Sam

2004-04-25, 1:34 am

Hi Christof
I went through your paper. I assum that the Publish/Subscribe model would work only for one type of condition. For example in the case of direct binding , you said using Filter consition, we can invoke orchestration.

Assume a case like this:

I can have more than once action types, but i can perform only one ation at a time. In this case, I cannot give actiontype
as a filter consition. Bcos action type could be say ADD/DELETE/UPDATE, any of the three is possible.

But in my filter condition I can give only one say if actiontype=="ADD', then call sub orcehstrations etc

Please clarify

thanks

Christof

2004-04-25, 10:35 am

Sam,

I'm sorry. I really don't understand your goals I'm afraid. (Or did I read
too quick over this?)

What you do is following:
- create "main" orchestration
- create in it a send shape and send port
- make the send port, "direct bound"
- send a message to it

What happens:
- the message will be received by the message box
- any properties will be promoted on it (this is actually already done in
the orchestration)
- the message will be routed to ANY orchestration which filter matches it

What to do:
- create a second "sub" orchestration (just another one, no "call
orchestration" involved here)
- create an activate receive in it
- create a filter on that activate receive that has some conditions

Those "conditions" are regular filters (Just the same as for example you
have when creating send ports...)

Kind regards,
Christof

"Sam" <anonymous@discussions.microsoft.com> wrote in message
news:ACEB8AB9-E53E-4C7F-8131-512226374F3D@microsoft.com...
> Hi Christof
> I went through your paper. I assum that the Publish/Subscribe model would

work only for one type of condition. For example in the case of direct
binding , you said using Filter consition, we can invoke orchestration.
>
> Assume a case like this:
>
> I can have more than once action types, but i can perform only one ation

at a time. In this case, I cannot give actiontype
> as a filter consition. Bcos action type could be say ADD/DELETE/UPDATE,

any of the three is possible.
>
> But in my filter condition I can give only one say if actiontype=="ADD',

then call sub orcehstrations etc
>
> Please clarify
>
> thanks
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com