Re: Detecting JMS Router Shutdown On Client Side
Posted By:
Karl_Cassaigne
Posted On:
Saturday, October 16, 2004 04:37 AM
You can do it simply by implementing the javax.jms.ExceptionListener interface and the use the setExceptionListener() method of the connection object.
Then, if the JMS router goes down, the onException() method will be called.
This is very reliable !