this.listenerContainer.shutdown();
this.listenerContainer.destroy();
}
public final ErrorHandler getErrorHandler() {
return new ErrorHandler() {
@Override
public void handleError(Throwable t) {
if(t instanceof AmqpConnectException) {
LOG.error("AMQP Connection error, marking this connection as failed");
onClose(null);