'This method is called by pika once the connection to RabbitMQ has
been established. It passes the handle to the connection object in
case we need it, but in this case, we\'ll just mark it unused.
:type unused_connection: pika.SelectConnection'

def on_connection_open(self, unused_connection):

    LOGGER.info('Connection    opened')
    self.open_channel()
