protected void channelDisconnect() { final Channel channel = channelHolder.getAndSet(null); disconnectCallback(channel); AmqpUtils.closeQuietly(channel); final Connection connection = connectionHolder.getAndSet(null); AmqpUtils.closeQuietly(connection); }