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 API Support » Queue listener

Post new topic  Reply to topic
 Queue listener « View previous topic :: View next topic » 
Author Message
jinko
PostPosted: Mon Oct 17, 2005 9:11 am    Post subject: Queue listener Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 17, 2005 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message
jinko
PostPosted: Tue Oct 18, 2005 12:28 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 18, 2005 3:03 am    Post subject: Reply with quote

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
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 API Support » Queue listener
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.