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 API Support » QUIESCING

Post new topic  Reply to topic
 QUIESCING « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Thu Nov 13, 2003 4:05 pm    Post subject: QUIESCING Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

I am using JMS. Is there any way to specify QUIESCING option so that the program comes down when the qmgr is down, so that there are no locks on queues.

One way is to have Exception Listener defined and the program clearing up the connection on asynchronous exception.


Thanks
Shiva.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Nov 13, 2003 4:48 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

IBM only added the Quiescing option in the 5.3 version of JMS. Which, BTW, is an IBM only extension to the specification, so it isn't portable.

If you're running earlier, then the only way to catch it is NOT to do an indefinite wait, but do a short one inside a loop. That way, when MQ is on it's way down, you get an error (Sorry, can't remember which), which isn't as clean, but works.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Nov 14, 2003 7:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I thought that you could set this with JMSAdmin and then do the JNDI lookup to get at it so that your code would still be portable?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » QUIESCING
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.