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 » Specifying MQOPEN options using JMS API

Post new topic  Reply to topic
 Specifying MQOPEN options using JMS API « View previous topic :: View next topic » 
Author Message
MichaelHartman
PostPosted: Wed Nov 14, 2001 7:51 am    Post subject: Reply with quote

Newbie

Joined: 01 Nov 2001
Posts: 4

I'm using IBM's JMS API for MQSeries in a clustered environment. When one of the clustered queue managers is brought down, replies continue to try to use the queue manager which is down.

Does anyone know how the MQOPEN works with the JMS impl in so far as whether BIND_ON_OPEN, BIND_NOT_FIXED, or BIND_AS_QDEF is used and also whether there is a way to specify the options for the MQOPEN operation.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Nov 14, 2001 10:27 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Michael,

Here's the result of a couple of JMS 'opens' that I forced to fail. One is a local queue, the other is a cluster queue.

Code:

Message #: 2
Start of Message Body: Format = MQEVENT (Length: 300)

Not authorized
Queue manager name: EDDIEATH
Qualifier: Open not authorized
Base queue name: TEST
Open options: 16 (X'10')
              MQOO_OUTPUT
User: eddie
Application type: Windows NT
Application name: C:WINNTSYSTEM32java.exe

End of Message Body

Message #: 3
Start of Message Body: Format = MQEVENT (Length: 300)

Not authorized
Queue manager name: EDDIEATH
Qualifier: Open not authorized
Base queue name: REQUEST.QUEUE
Open options: 16 (X'10')
              MQOO_OUTPUT
User: eddie
Application type: Windows NT
Application name: C:WINNTSYSTEM32java.exe

End of Message Body


You can see that the open options don't specify anything for BIND, so that makes them BIND_AS_Q_DEF. So using DEFBIND(NOTFIXED) on the queues should work. The default is DEFBIND(OPEN).

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Specifying MQOPEN options using JMS API
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.