|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS doesn't cluster |
« View previous topic :: View next topic » |
Author |
Message
|
sourdas2 |
Posted: Fri Dec 16, 2011 4:39 am Post subject: WMQ Clustering not working for JMS API |
|
|
 Voyager
Joined: 21 Apr 2006 Posts: 90 Location: Kolkata,India
|
I am using WMQ V7.0.1.
I have three queue managers in a cluster. Queue Manager 1 & 2 are the full repository and Queue Manager 3 is the partial repository. Both Queue Manager 1 & 2 have the same queue - WLBALANCE.LQ that are also shared in cluster.
When an application connected to the Queue Manager 3, uses JMS API to send messages to queue - WLBALANCE.LQ, I am getting exception as - "MQRC 2085 UNKNOWN OBJECT NAME".
My connection factory object is referring to Queue Manager 3 & JMS destination object is referring to queue - WLBALANCE.LQ.
The same setting works fine and message are distribute in Queue Manager 1 & 2, when the same application uses MQ API.
Please suggest. _________________ Thanks and Warm Regards
Sourav |
|
Back to top |
|
 |
vmcgloin |
Posted: Fri Dec 16, 2011 5:50 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 16, 2011 8:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Trying to access a cluster destination you cannot create your queue with
Code: |
session.createQueue("MYQUEUENAME"); |
you will have to use the URI form:
Code: |
session.createQueue("queue:///MYQUEUENAME"); //Untested |
Alternatively we also use a cluster alias in place of the qmgr
Code: |
session.createQueue("queue://CLUSTERALIAS/MYQUEUENAME"); tested and works |
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sourdas2 |
Posted: Sun Dec 18, 2011 10:06 pm Post subject: |
|
|
 Voyager
Joined: 21 Apr 2006 Posts: 90 Location: Kolkata,India
|
Thanks fjb_saper & vmcgloin. It is working  _________________ Thanks and Warm Regards
Sourav |
|
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
|
|
|
|