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 » IBM MQ Java / JMS » Guarantee ordering across topics

Post new topic  Reply to topic
 Guarantee ordering across topics « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Tue Mar 11, 2008 1:29 pm    Post subject: Guarantee ordering across topics Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

This question pertains to pub/sub environment.

I would like to create a subscribing process who subscribes to two different topics (TopicA and TopicB). Is there a way with WebSphereMQ to ensure that my process will receive messages in time order between each of the topics. No matter how backed up one topic is vs. the other, if a message is published first to TopicA and a second message is published to TopicB, I need to be sure that my subscribing client gets TopicA's message first since it was posted first.

I understand that the JMS specification states that this funtionality is not guaranteed by any vendor but I know that some products do offer this functionality.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 11, 2008 1:39 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you subscribe both topics to the same physical queue, and you don't use message priority on the topics and you take a bit of additional care with configuration of any channels between the pub/sub engine and the subscriber queue manager...

Then messages should be delivered to the topic consumer in queue order, which should relate to publication time.

You'll be hard pressed to get a guarantee on that, though, I think.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Java / JMS » Guarantee ordering across topics
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.