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 » General Discussion » Getting Message in Order

Post new topic  Reply to topic
 Getting Message in Order « View previous topic :: View next topic » 
Author Message
rammer
PostPosted: Mon Oct 04, 2004 6:08 am    Post subject: Getting Message in Order Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Hi,

I am asking this question from an administrator's point of view so please bare with me.

I have an application on QMGR1 that sends messages to QMGR2 via clustering. The messages route via two MQ Hubs QMGRA and QMGRB so it is quite possible that the messages could show up on QMGR2 in a different order to which they were sent.

If the messages have to be got from QMGR2 in the order that they were put on via QMGR1 ie, message1,2,3,4 and not how they ended up on the queue (message2, 1, 4,3) Is this possible.

I have read through some of the responses on here searching for message priority and FIFO and also through the programming guide but am still a little confused on what would require doing. (Remember I am an administrator, and defiantley not a developer!!)

Thanks in advance.
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Oct 04, 2004 6:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

If the messages have to be delivered in order, I'd consider having your developer put them all as part of a group. On the receiving side, you could then not do your gets until all messages of the group were available.

It is possible to 'force' the messages to be received in order. There is a discussion on it in the Intercommunication manual. Look for 'Sequential delivery of messages'. However, it has a bunch of steps that has to be followed.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
rammer
PostPosted: Mon Oct 04, 2004 7:56 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Thanks for that, but I am not sure if putting them in a group would suffice as they are coming throughout a 24 hour period, where there could be 1000 in 2 minutes followed by a lapse of no messages over the next one hour, and they do need processing in a very short window.

Reading the section on Sequential delivery it appears that this only applies to Z/oS and we are on HP. The section "Sequential retrieval of messages" applies to everything that I am doing untill I get to the bullet point indicating that there can only be one route from sender to receiver and as I am using clustering and going via 2 hub queue managers to get to the destination then that is a no no

Would you there for say that I should just set up a sender/receiver channel from Qmgr 1 to Qmgr 2 or could I get the developer to code in on the put MQ Bind Open option?

Regards
Rammer
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Oct 04, 2004 10:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think MQ bind open option would help.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Getting Message in Order
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.