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 Java / JMS » CLUSTER MQSERIES and JMS

Post new topic  Reply to topic
 CLUSTER MQSERIES and JMS « View previous topic :: View next topic » 
Author Message
Didier B.
PostPosted: Thu Sep 11, 2003 2:24 am    Post subject: CLUSTER MQSERIES and JMS Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Thu Sep 11, 2003 4:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Didier B.
PostPosted: Thu Sep 11, 2003 4:06 am    Post subject: Reply with quote

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
View user's profile Send private message
vmcgloin
PostPosted: Thu Sep 11, 2003 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Didier B.
PostPosted: Tue Sep 16, 2003 1:23 am    Post subject: Reply with quote

Newbie

Joined: 10 Sep 2003
Posts: 5
Location: France

It seems to work

Thank you!
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 » IBM MQ Java / JMS » CLUSTER MQSERIES and JMS
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.