@Override public void onException(JMSException exception) { // capture exceptions, and schedule a refresh of the ReplyTo destination log.warn( "Exception inside the DMLC for Temporary ReplyTo Queue for destination " + endpoint.getDestinationName() + ", refreshing ReplyTo destination", exception); destResolver.scheduleRefresh(); // serve as a proxy for any exception listener the user may have set explicitly if (delegate != null) { delegate.onException(exception); } }