Using transactions with Itineraries


hello,

what best practises of using two-phase commits while using esb itineraries?
my scenario involves invoking multiple services but it has or none commit. any suggestions appreciated.
thanks.

hi dahiya,

using esb itiniteraries 2pc transactions highly depends on scenario. example had couple of scenarios required message being routed multiple endpoints inside transaction, receve , send ports 1 - way asynchronous. had use orchestration correlation, , compensation. though not want, in long run, mimicked 2pc process, not atomically.

we had scenario utilized 2-way req/response port used wcf 2 way adapter and had message copied , routed multiple endpoints, esb waiting until endpoints succesfully received message , send ack back, @ point in time, esb send ack original caller (2-way req/response). 2pc atomic transation, , wasn't obvious how implement. had use itinierary cache on transmit correlation itineray steps, , verify message ack had appropiate promoted property 2-way adapter expecting self correlation when time send ack original caller. had use custom pipeline component, best thing was complete messaging solution, no orchestrations involved.

i'll blog , post link here.

hth
mct, mcsd.net, biztalk ts


BizTalk Server  >  BizTalk ESB Toolkit



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'