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 » What happens to JMS listeners when QMngr restarts?

Post new topic  Reply to topic
 What happens to JMS listeners when QMngr restarts? « View previous topic :: View next topic » 
Author Message
mac1929
PostPosted: Fri Dec 20, 2002 12:51 am    Post subject: What happens to JMS listeners when QMngr restarts? Reply with quote

Novice

Joined: 15 Oct 2002
Posts: 10

We've built some adapters to communicate MQSeries with Cics, Sap and Siebel. They consist on some JMS listeners running on Websphere that get requests from a queue, call the target system, and bring the reply back to a reply queue. Everything is working quite fine right now but we are aware that this arquitecture has a potential problem.
If a queue manager fails for some reason and it has to be restarted, our JMS listeners don´t take it into account. They simply remain listening on a dead connection. Besides, even if the Queue Manager is restarted, the connection is not automatically recovered.
I suppose somebody should have faced this problem. Any hint?
Back to top
View user's profile Send private message
anjan34
PostPosted: Fri Jan 10, 2003 8:23 am    Post subject: Reply with quote

Newbie

Joined: 19 Aug 2002
Posts: 5

Hi,
You need to register an ExceptionListener. The QueueManager will inform this listener when it is going down. But you need to register your MessageListener again with a new connection when the QueueManager comes up.
Back to top
View user's profile Send private message
vadivel
PostPosted: Thu Jan 16, 2003 10:46 pm    Post subject: Reply with quote

Voyager

Joined: 05 Aug 2002
Posts: 79
Location: US

Hi,
I too faced this problem and we used the exceptionlisteners,but this doesnt slove it fully, coz the exceptionlisteners are notified only when the queue manager goes down and the listeners have to manually triggered again, when the queue manager comes up again.
Vels
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » What happens to JMS listeners when QMngr restarts?
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.