Posted: Wed Oct 12, 2011 12:58 pm Post subject: Pub/Sub Design Question
Apprentice
Joined: 04 Apr 2011 Posts: 45
I'm creating a small Pub/Sub flow that will take a message break into multiple messages and publish each to it's associated subscrber. The catch is the affinity of the composite message needs to be maintained i.e. the order of the individual messages that come out of the composite needs to be maintained. The problem is if/when the flow fails in the middle of processing a composite ... some of the individual messages will make it to their subscribers while the others will fail.
My solution was to resend the original message once the flow was back up but that would mean sending duplicate messages to the subscriber which isn't an option. I've heard using the transactional function in WMB is tricky at best and was hoping there might be another solution?
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
With Transaction set to Yes, the messages actually will not be published until the flow completes without error. Any error and the messages are removed from publication. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum