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 » JMS listener not picking messages on QueueManager restart

Post new topic  Reply to topic
 JMS listener not picking messages on QueueManager restart « View previous topic :: View next topic » 
Author Message
tumstech
PostPosted: Wed Nov 18, 2009 4:56 am    Post subject: JMS listener not picking messages on QueueManager restart Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 18, 2009 7:10 pm    Post subject: Re: JMS listener not picking messages on QueueManager restar Reply with quote

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
View user's profile Send private message Send e-mail
anilit99
PostPosted: Thu Nov 19, 2009 7:55 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 19, 2009 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS listener not picking messages on QueueManager restart
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.