|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS listener not picking messages on QueueManager restart |
« View previous topic :: View next topic » |
Author |
Message
|
tumstech |
Posted: Wed Nov 18, 2009 4:56 am Post subject: JMS listener not picking messages on QueueManager restart |
|
|
Newbie
Joined: 04 Nov 2009 Posts: 7
|
I have an JMS listener whose onMessage gets called properly but upon restart of the QueueManager the onMessage is not getting invoked and messages are in the queue itself.Is there a solution where I don't have to reregister the JMS listener upon QueueManager restart? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 18, 2009 7:10 pm Post subject: Re: JMS listener not picking messages on QueueManager restar |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
tumstech wrote: |
I have an JMS listener whose onMessage gets called properly but upon restart of the QueueManager the onMessage is not getting invoked and messages are in the queue itself.Is there a solution where I don't have to reregister the JMS listener upon QueueManager restart? |
You should not have to reregister the JMS listener. You may however have to restart the MDB service. Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
anilit99 |
Posted: Thu Nov 19, 2009 7:55 am Post subject: |
|
|
 Voyager
Joined: 28 May 2009 Posts: 75 Location: London, UK
|
I believe tumstech is talking about MessageListener and not an mdb. But being said that, I am not sure how you can reregister the listener.  _________________ "I almost care !" |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 19, 2009 3:24 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
anilit99 wrote: |
I believe tumstech is talking about MessageListener and not an mdb. But being said that, I am not sure how you can reregister the listener.  |
Well if he is talking about a standalone solution he needs to stop the connection, release all resources, reacquire the connection and reaquire all relevant resources... quite some work. And it should not all be done by the framework, leave some for the app to do...
 _________________ MQ & Broker admin |
|
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
|
|
|
|