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 » IBM MQ Installation/Configuration Support » problem with client pgm putting message to cluster queue

Post new topic  Reply to topic
 problem with client pgm putting message to cluster queue « View previous topic :: View next topic » 
Author Message
mq_pm
PostPosted: Thu Oct 14, 2004 1:32 pm    Post subject: problem with client pgm putting message to cluster queue Reply with quote

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
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu Oct 14, 2004 1:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
mq_pm
PostPosted: Fri Oct 15, 2004 4:42 am    Post subject: Reply with quote

Centurion

Joined: 27 Aug 2003
Posts: 132

Thank you very much. It worked.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » problem with client pgm putting message to cluster queue
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.