Singleton Orchestration in BizTalk Server
page 4 of 6
by Naveen Karamchetti
Feedback
Average Rating: 
Views (Total / Last 10 Days): 33052/ 135

How does one create a Singleton Orchestration?

1.    Create a correlation type with the property "BTS.ReceivePortName;" this will ensure a single instance of an orchestration, since all the messages come from a single receive location.

2.    Create a correlation set with the correlation type created in the previous step.

3.    In the first Receive Shape (Activate = true), set the property "Initializing Correlation Sets" as the correlation set (created in the previous step) and in the Second receive shape (Activate = false), set the property "Following Correlation Sets" as the correlation type (created in the previous step).

NOTE: Any promoted property which would be the same across all the messages can also be used as the correlation type property.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 6 and 6 and type the answer here:

User Comments

Title: Error Handling   
Name: Ramon
Date: 3/11/2011 1:08:22 PM
Comment:
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: 12/3/2008 1:56:46 PM
Comment:
Delay is just for demo only. You are free to remove.
Title: Why the delay?   
Name: Adman
Date: 1/28/2008 12:11:43 PM
Comment:
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-2012 ASPAlliance.com  |  Page Processed at 2/12/2012 12:37:03 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search