Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Atomic transaction Orchestration › Re: Atomic transaction Orchestration
Ok. I see.
I have one broker orchestration, which accepts XML message. The message contains several submessages (1 – *). Each submessage has XML Element TradeType <TradeType>A</TradeType>. I use TradeType in order to route thate submessage to specific orchastration.. I have several orchestrations for each TradeType.
I want to transmitt each submessage from my broker orchestration to specific SubOrchestration (depending on the message TradeType value). But, If some message fails I want to roll back all submessages processings.
I think I have to create a broker Orchestration with Atomic transaction scope, put Loop element into the Scope, and extract submessages in Loop.
Then inside Loop goes If-Then Element which performs routing basing on TradeType. Insede each Branch I need to put Call orchestration element (because call orchestration element will allow me to spread transaction context on to the chil orchestration.)