|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Queue listener |
« View previous topic :: View next topic » |
Author |
Message
|
jinko |
Posted: Mon Oct 17, 2005 9:11 am Post subject: Queue listener |
|
|
Newbie
Joined: 13 Oct 2005 Posts: 4
|
Hi all,
I'm using the java api (non jms) for WMQ 5.3, I need to register a listener to a queue, is it possible? if so, how?
thanks in advance |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 17, 2005 9:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What do you think is different between a "listener" and a program that loops over issuing an MQGet with a long wait time? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jinko |
Posted: Tue Oct 18, 2005 12:28 am Post subject: |
|
|
Newbie
Joined: 13 Oct 2005 Posts: 4
|
Thank you for your fast reply Jeff! of course there are no differences, it was olnly to figure out who has to loop, if there was a mechanism, like in the jms specs, where you can specify a listener to a javax.jms.MessageConsumer object I would have used that... |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 18, 2005 3:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jinko wrote: |
if there was a mechanism, like in the jms specs, where you can specify a listener to a javax.jms.MessageConsumer object I would have used that... |
Nope. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|