Singleton Orchestration in BizTalk Server
page 3 of 6
by Naveen Karamchetti
Average Rating: 
Views (Total / Last 10 Days): 48004/ 113


The first message that arrives at the Receive port creates a new instance of the Orchestration. All other messages would use the same Orchestration for processing.

A BizTalk Correlation would ensure that the messages which arrive into the Orchestration have at least one similar property.  For example, the messages arrive from the same Receive Port or they have the same InstanceID or flag property. For a single Orchestration to exist, all the messages which arrive at the orchestration must have one common property. This common property of the messages must be encapsulated into a Correlation set.

The Correlation set created above shall be initialized on the receipt of the first message which creates the Singleton Orchestration, all other subsequent messages would use the same Correlation set and, therefore, the same Orchestration instance.

Figure 1 – Receive Shape Properties Dialog box

View Entire Article

User Comments

Title: Singleton_Orchestration_in_BizTalk_Server   
Name: srinivas
Date: 2012-09-13 3:36:26 AM
Hi naveen karamchetti,

recently i read one of the artical(Singleton orchestraion in biztalk server) written by you.It is a very good artical.
in that artical you explain with one sample example.i need that sample code.please send to my mail id it is usefull to me.plz plz plz plz send me.

Thanks & regards
Title: Error Handling   
Name: Ramon
Date: 2011-03-11 1:08:22 PM
What happens if there is an error in the first batch that the orchestration receive and there are more to come. Does the orchestration fail and the next batch starts a new orchestration or what happens?
Title: Demo   
Name: Author
Date: 2008-12-03 1:56:46 PM
Delay is just for demo only. You are free to remove.
Title: Why the delay?   
Name: Adman
Date: 2008-01-28 12:11:43 PM
What's the purpose of the delay? If you leave out a delay, why are lots of CPU cycles used...?

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2021  |  Page Processed at 2021-03-08 7:09:58 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search