code: def on_queue_declareok(self, method_frame):
          
          logger.info('Binding to rabbit', exchange=self._exchange, queue=self._queue)
          self._channel.queue_bind(self.on_bindok, self._queue, self._exchange)
docs: Method invoked by pika when the Queue.Declare RPC call made in
          setup_queue has completed. In this method we will bind the queue
          and exchange together with the routing key by issuing the Queue.Bind
          RPC command. When this command is complete, the on_bindok method will
          be invoked by pika.
  
          :param pika.frame.Method method_frame: The Queue.DeclareOk frame