Our principle application uses the JMS API to put messages onto MQ. The Queues are permanant dynamic and each queue contains messages for a single topic.
We are trying to develop a utility to cycle through these JMS queues using the MQ Series Java API (this is does not use the JMS interface). However we are unable to open a connection to a queue when it has an open input count > 0. We get the following MQException (CC = 2 RC = 2042). Which is caused (we think) because another process (we suspect our JMS application) has opened the Queue INPUT_EXCLUSIVE.
However, the Java Console supplied with MQ is able to browse this Queue, and we suspect (again) that there must be a way for our utility to do the same?
I'm also guessing that this has something to do with the open options used to access the queue - we've tried many combinations without much success!
If anyone can shed some lighht on this I would be very greatful ;-)
Simon
We are trying to develop a utility to cycle through these JMS queues using the MQ Series Java API (this is does not use the JMS interface). However we are unable to open a connection to a queue when it has an open input count > 0. We get the following MQException (CC = 2 RC = 2042). Which is caused (we think) because another process (we suspect our JMS application) has opened the Queue INPUT_EXCLUSIVE.
However, the Java Console supplied with MQ is able to browse this Queue, and we suspect (again) that there must be a way for our utility to do the same?
I'm also guessing that this has something to do with the open options used to access the queue - we've tried many combinations without much success!
If anyone can shed some lighht on this I would be very greatful ;-)
Simon