Home Page › Forums › BizTalk 2004 – BizTalk 2010 › BizTalk Server 2006 Orchestration?? › Re: BizTalk Server 2006 Orchestration??
Hi Nengsih,
You can use a variation of the BizTalk pattern known as Content-based Router to implement what you want. Here’s an MSDN sample of that pattern:
http://msdn.microsoft.com/en-us/library/aa561358.aspx
To accomodate your scenario where you are expected to drop any one of 10 different input messages, just make your activatable receive port to be of generic type (i.e. System.XML.XmlDocument).
Make sure that all of your 10 different message types have an identifiable element (or attribute) that you can query in the Orchestration (using XPath) to determine the message type (and final recipient of your transformed message).
Then, in your orchestration, declare 10 messages corresponding to the 10 different schemas, create a Decide shape with 10 branches, and the flow will be determined by the message type. In each branch, you can assign the generic input message to the corresponding message (for that type of message) in an Expression shape, then do any further processing from there (call .NET remoting service, do a mapping, etc.)
Hope this helps,
Daniel.