@Override public void onException(final JMSException exception){
  LOGGER.error("JMSException caught by JMS connection exception listener. Attempting to reconnect.",exception);
  startReconnectThread();
}

@ Override public void onException ( final JMSException exception ) { LOGGER . error ( "JMSException caught by JMS connection exception listener. Attempting to reconnect." , exception ) ; startReconnectThread ( ) ; }
listeners are notified of disconnection in reconnection thread .
