Posted: Sat Nov 27, 2004 10:40 pm Post subject: Websphere MQ/JMS Clustering: Help!!
Newbie
Joined: 27 Nov 2004 Posts: 1
I am new to Websphere MQ.
In our clustering environment,
we have application A1 running on WAS1 on machine M1.
HQM1 and HQM2 are repository queue managers which are part of the cluster.
RQM1 and RQ are Queue Manager and Queue on machine D1.
RQM2 and RQ are Queue Manager and Queue on machine D2.
Note that RQ is named the same in RQM1 and RQM2.
RQM1 and RQM2 are part of the cluster as well.
A1 needs to send a message to RQ on machine D1.
A1 uses HQM2 as the Queue Manager and sends a message to RQ.
A1 is JMS based. The message consumer is MQ API based on D1 and D2.
My question is: From A1 how can I specify that my message is targeted for RQ on RQM1. Because I specify HQM2 as the Queue Manager and RQ as the queue in my code. Where do I specify RQM1 as the (real) destination queue manager?? In the header?? and How??
To make it simple:
A1 is part of your cluster. However A1 does not host RQ. RQ is hosted at D1 and D2.
Placing a message on A1 (qcf pointing to A1) for RQ.
If you specify a qmgr on your destination (Queue) the message will go to that destination qmgr.
If you do not specify a destination qmgr (space) the load balancing algorithm is invoked.
If the queue is opened in bindings at open all messages will go to the same queue/qmgr.
if the queue is opened in bindings not fixed the load balancing algorithm is invoked for each send(JMS).
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