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.
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
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