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 » Clustering » put/get in cluster qmgr

Post new topic  Reply to topic
 put/get in cluster qmgr « View previous topic :: View next topic » 
Author Message
lash
PostPosted: Thu May 15, 2003 11:11 am    Post subject: put/get in cluster qmgr Reply with quote

Apprentice

Joined: 14 May 2003
Posts: 47

hi,
thanks for ur replies,
here i have 4 qmgrs, say qm1,qm2,qm3, qm4,
and all qmgrs "qm1,qm2,qm3,qm4" in a cluster.

with cluster queue called "Qtest"

"Qtest" is defined in qm1.,

when i put a message in this q, i want to get the msg in rest of the qmanagers also.

thankyou,
lash.
Back to top
View user's profile Send private message
vennela
PostPosted: Thu May 15, 2003 11:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Lash:

Qtest is defined on qm1

Now you can PUT to this queue from any of the four qmanagers qm1 qm2 qm3 and qm4

If you define Qtest on qm1 and qm2 then
case 1. If you app is connected to either qm1 or qm2 then the messages you PUT will end up in the queue on the QMGR you are connected to.
case 2. If your app is connected to qm3 or qm4 then the messages you PUT will round robin (by default ) to qm1 and qm2. If you PUT 10 messages then 5 messages go to Qtest on qm1 and 5 will go to Qtest on qm2.
Here qm1 and qm2 are known as the qmanagers hosting the queue.

What you are trying to do can be achieved using a dsitribution list I guess but I have never done this, so I can't tell you how to do that
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Thu May 15, 2003 12:29 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can only ever GET from a queue that is a Local queue on the queue manager that you are connected to.

That means that if you are connected to qm4, you can only GET messages from any defined QLOCAL queues on the qm4. You can PUT to any local, cluster, or remote queues.

The side effect of using a distribution list is you will create a copy of each message. This can be good for doing unreleated operations to the same message in parallel (like archive the message AND process it - neither is dependant on the other, so they can be done in parallel).
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 » Clustering » put/get in cluster qmgr
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.