def on_channel_closed(self, channel, reply_code, reply_text):
logger.warning('<STR_LIT>', channel, reply_code, reply_text)<EOL>self._connection.close()<EOL>
Called by pika when RabbitMQ unexpectedly closes the channel.

        Channels are usually closed if you attempt to do something that
        violates the protocol, such as re-declare an exchange or queue with
        different parameters. In this case, we'll close the connection to
        shutdown the object.

        :param pika.channel.Channel: The closed channel
        :param int reply_code: The numeric reason the channel was closed
        :param str reply_text: The text reason the channel was closed