|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CLUSTER MQSERIES and JMS |
« View previous topic :: View next topic » |
Author |
Message
|
Didier B. |
Posted: Thu Sep 11, 2003 2:24 am Post subject: CLUSTER MQSERIES and JMS |
|
|
Newbie
Joined: 10 Sep 2003 Posts: 5 Location: France
|
We have a MQSeries Cluster. We use JMS to put messages in queue, all the message within the same connection go to the same queue. But messages in different connection go in both.
Where can we modify this behavior like the MQOO_BIND_NOT_FIXED do for the native API ? |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 11, 2003 4:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
There is a comment in the Using Java manual (p196 in mine):
Quote: |
Note: When sending a message to a cluster, leave the Queue Manager field in the JMS Queue object blank. This enables an MQOPEN to be performed in BIND_NOT_FIXED mode, which allows the queue manager to be determined. Otherwise an exception is returned reporting that the queue object cannot be found. This applies when using JNDI or defining queues at runtime.
|
It is in Chapter 10 in the Sending a message section. |
|
Back to top |
|
 |
Didier B. |
Posted: Thu Sep 11, 2003 4:06 am Post subject: |
|
|
Newbie
Joined: 10 Sep 2003 Posts: 5 Location: France
|
Thank you.
But unfortunally, we already left the QMANAGER field blank in the JMSAdmin.  |
|
Back to top |
|
 |
vmcgloin |
Posted: Thu Sep 11, 2003 4:54 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Probably a silly question but you have default bind set to 'not fixed' on the actual queues? This is on the cluster tab if you look at the queue properties in MQExplorer. |
|
Back to top |
|
 |
Didier B. |
Posted: Tue Sep 16, 2003 1:23 am Post subject: |
|
|
Newbie
Joined: 10 Sep 2003 Posts: 5 Location: France
|
It seems to work
Thank you! |
|
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
|
|
|
|