Parallel / Sequential Receive Convoys

|  Posted: March 9, 2005  |  Categories: BizTalk Server General Technical

Do you get panic attack by hearing this jargon words in Biztalk world?

No worries! They are quite simple.

They are just design patterns, the way you implement your business process.

1. Parallel Receive

Condition: you wait for all the messages to come into your business process before the processing starts. Example: If you need to process something after receiving quotation (message) from all your manufacturers.

Key steps in your orchestration

* Drop Parallel action with 2 or more Receive shapes in the beginning.

* Activate = True in all the receive shapes

* Initializing Correlation Sets = “somecorrelationset” in all the receive shapes. (You need to define a correlation set with an element unique across all the messages you receive).

2. Sequential Receive

Condition: Either you receive same type or different type of message one after the other; you need to wait until you receive some kind of control message to say “That’s the end”, or keep receiving “n” number of messages.

Key steps in your orchestration

* Set Activate = True in the first Receive Shape, Initializing Correlation Sets = “somecorrelationset” (You need to define a correlation set with an element unique across all the messages you receive).

* Set Activate = False in the following receive shapes, Following Correlation Sets = “somecorrelationset”, and

* Put a Loop across Receive shape. Terminate the loop based on your condition either after receiving “n” number of messages or after receiving the control message.

Author: Saravana Kumar

Saravana Kumar is the Founder and CTO of BizTalk360, an enterprise software that acts as an all-in-one solution for better administration, operation, support and monitoring of Microsoft BizTalk Server environments.

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top