ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Pub/Sub Design Question

Post new topic  Reply to topic
 Pub/Sub Design Question « View previous topic :: View next topic » 
Author Message
dyson
PostPosted: Wed Oct 12, 2011 12:58 pm    Post subject: Pub/Sub Design Question Reply with quote

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?

Thank you,
Scott
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Oct 12, 2011 1:09 pm    Post subject: Reply with quote

Jedi Knight

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
Back to top
View user's profile Send private message Send e-mail
dyson
PostPosted: Fri Oct 14, 2011 8:30 am    Post subject: That worked thanks! Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

That worked thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Pub/Sub Design Question
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.