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 messages in a cluster queue from JMS client

Post new topic  Reply to topic
 Put messages in a cluster queue from JMS client « View previous topic :: View next topic » 
Author Message
newbie
PostPosted: Fri Mar 05, 2004 1:24 pm    Post subject: Put messages in a cluster queue from JMS client Reply with quote

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
PostPosted: Fri Mar 05, 2004 3:04 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

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
View user's profile Send private message
mikel
PostPosted: Thu Mar 25, 2004 6:41 am    Post subject: JMSAdmin and MQ cluster Reply with quote

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
View user's profile Send private message
mikel
PostPosted: Thu Mar 25, 2004 9:21 am    Post subject: Reply with quote

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
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 messages in a cluster queue from JMS client
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.