|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Put messages in a cluster queue from JMS client |
« View previous topic :: View next topic » |
Author |
Message
|
newbie |
Posted: Fri Mar 05, 2004 1:24 pm Post subject: Put messages in a cluster queue from JMS client |
|
|
Guest
|
Hi,
I am unable to put messages in a cluster queue from a JMS client. This queue sits on a queuemanager which is not the queuemanager to which the client connects. However, these two queue managers are part of the cluster setup. But it does work when I create remote definitions to these queues on the queue manager to whcih the client connects. Has anyone come across this issue ?
thanks |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Mar 05, 2004 3:04 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Your JMS queue object allows you to specify both a Queue name and a Queue Manager Name. The Queue name is obviously the MQ Queue. No surprises there.
But the QMANAGER property is not for what Queue Manager you want to conect to, but rather it maps to the MQOD_ObjectQueueManager field.
In any MQ app, JMS or not, if your fill in the ObjectQueueManager field with the name of the local queue manager, your are telling MQ that the queue must be found on that local queue manager. Since your clustered queue is not actually on the local queue manager, you fail.
I bet your JMS Queue object incorrectly specifies the QMANGER property. Blank it out, and you'll be good to go.
http://www.mqseries.net/phpBB2/viewtopic.php?t=12350&highlight= _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mikel |
Posted: Thu Mar 25, 2004 6:41 am Post subject: JMSAdmin and MQ cluster |
|
|
Newbie
Joined: 25 Mar 2004 Posts: 2
|
Hi,
I have the same problem with JMS and MQ cluster. I have three QManagers (QM1, QM2 and QM3) within a cluster (CLUSTER). In QM3 exists a local queue with name COLA_QM3 clustered into CLUSTER, and my application writte in a JMS queue wich, via jmsbridge, forwards to QM1 or QM2.
How I can send a message to COLA_QM3 from my app, using JMSAdmin?
I'm trying to binding the clustered queue into JNDI file, via JMSAdmin, but
seems that I can't do it, no?
Sorry for my English, I'm improve,,,,
MÃkel |
|
Back to top |
|
 |
mikel |
Posted: Thu Mar 25, 2004 9:21 am Post subject: |
|
|
Newbie
Joined: 25 Mar 2004 Posts: 2
|
PeterPotkay wrote: |
Your JMS queue object allows you to specify both a Queue name and a Queue Manager Name. The Queue name is obviously the MQ Queue. No surprises there.
But the QMANAGER property is not for what Queue Manager you want to conect to, but rather it maps to the MQOD_ObjectQueueManager field.
In any MQ app, JMS or not, if your fill in the ObjectQueueManager field with the name of the local queue manager, your are telling MQ that the queue must be found on that local queue manager. Since your clustered queue is not actually on the local queue manager, you fail.
I bet your JMS Queue object incorrectly specifies the QMANGER property. Blank it out, and you'll be good to go.
http://www.mqseries.net/phpBB2/viewtopic.php?t=12350&highlight= |
Hi,
"I bet your JMS Queue object incorrectly specifies the QMANGER property. Blank it out, and you'll be good to go."
This is right. I do it and works very fine.
Thanks
MÃkel |
|
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
|
|
|
|