|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
problem with client pgm putting message to cluster queue |
« View previous topic :: View next topic » |
Author |
Message
|
mq_pm |
Posted: Thu Oct 14, 2004 1:32 pm Post subject: problem with client pgm putting message to cluster queue |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Hi,
I have a cluster environment with QM1, QM2, Qm3, Qm4 where QM1 and QM2 are repositories.
There is a cluster queue X which is defined on both QM1 and QM2. I have a java application to put messages on queue X. But when I give the queuemanager Qm3 and queue as X and the details of the Qm3 port and channel in the java pgm and try to put a message it is gives an error.
since X is a cluster queue message can be put from any queuemanager right??? So how to put a message from Qm3 to queue X. Any suggestions???
Thanks in advance. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Oct 14, 2004 1:47 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Don't specify QM3 in the MQOPEN call. Leave the MQOD_ObjectQMname field blank, and your messages will find the queues in the cluster.
If you specify a QM name in the MQOPEN, MQ assumes you only want the message to go to that QM, which if the queue does not exist there, cause the MQOPEN to fail. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mq_pm |
Posted: Fri Oct 15, 2004 4:42 am Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Thank you very much. It worked. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|