|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
about listeners |
« View previous topic :: View next topic » |
Author |
Message
|
lecmns |
Posted: Mon Feb 04, 2002 12:10 am Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Mon Feb 04, 2002 8:01 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|