if (conn != null)
{
try
{
final FailoverEventListener failoverListener = conn.getFailoverListener();
if (failoverListener != null)
{
new Thread(new Runnable()
{
public void run()
{
failoverListener.failoverEvent(eventType);
}
}).start();
}
}
catch (JMSException e)