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 » about listeners

Post new topic  Reply to topic
 about listeners « View previous topic :: View next topic » 
Author Message
lecmns
PostPosted: Mon Feb 04, 2002 12:10 am    Post subject: Reply with quote

Apprentice

Joined: 26 Dec 2001
Posts: 36

folks..

it's about listeners..

how do we set time out for a message listener?
can we do that?
if not, will a message listener ever time out?

I want one message listener getting any message from a queue but then routing it to different message processors. Hope you got my requirement. So, I don't want this master listener to time out at any cost.

another scenario is that I want a listener to look for one particular message and if that's not found in say 1 hour, I want this message listener to time out.

does that happen automatically? How do I go about doing that?

folks, help me out..

thankx in advance
MNS
Back to top
View user's profile Send private message
kolban
PostPosted: Mon Feb 04, 2002 8:01 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

To the best of my knowledge, the message listener registered will live as long as the session. It seems that if you want to timeout a Message Listener, you would create the Session on a separate thread and have that thread start the listener. If you are doing that, you may as well start the Session on a separate thread and have it block on an explicit get().
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 » about listeners
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.