You should use the QMGR name attribute of the queue object, and populate it with the name of a QM in the cluster that does host the queue. If you choose a QM that does not have the queue, you will get the 2085. If you populate it with the local QM name, you lose round robining if the local QM hosts that queue, or 2085 if it does not.
You don't need to make different q names on all your clustered QMs.
 
 
-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED]On Behalf Of Bender, Alan
Sent: Monday, November 29, 2004 11:17 AM
To: [EMAIL PROTECTED]
Subject: Re: Clustering Question

Tony,

We have an application running with the same component versions.  You must remember that in a cluster containing multiple copies of the same Queue name the cluster will load balance.  We have also noted that with the JMS client connection if the QMGR name is used in the JMS configuration we get the dreaded 2085 error code MQRC_UNKNOWN_OBJECT_NAME.  What we have done is to append the Queue name with the, in our case, division number. (example: TEST.QUEUE.012).  That way you have a unique queue.  This may seem simplistic but it does work.

Alan


From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Tony.Allison
Sent: Monday, November 29, 2004 9:53 AM
To: [EMAIL PROTECTED]
Subject: Clustering Question

 

Good morning everyone...

 

I think I am having a brain meltdown....  Here is what we are trying to accomplish.

 

Components:
1. WAS 5.1
2. Websphere MQ 5.3.0.8

 

1370 queue managers in single cluster.  WAS application running with client connection to central queue manager needs to send a single message to one queue manager in the cluster.  (There are 1364 instances of for example (TEST.QUEUE)  One on each of the queue managers in the cluster.  The queue managers are broken down into two categories (HQ and Stores) all stores queue managers are distributed across the country and each have a unique name.

 

My question is, How can my local HQ application running on WAS put a message to a specific queue manager within the cluster?

 

I know each MQ object has a unique name (Object Name / Object QMGR Name)  Where in the JMS code can we put the specific name?

 

Thanks for any input you can provide.

 

Thanks

 

Tony Allison

Technical Architect

Target Technology Services

Enterprise Tools / Middleware

33 South 6th Street

11th Floor / Cube 11240

Minneapolis, MN

Direct (612) 304-3740

Cell Phone (612) 306-0487

E-Mail: [EMAIL PROTECTED]

 

 



This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.

Reply via email to