code: def on_bindok(self, unused_frame):
          
          self._logger.info('Queue bound')
          while not self._stopping:
              # perform the action that publishes on this client
              self.producer(self)
          self._logger.info("producer done")
docs: This method is invoked by pika when it receives the Queue.BindOk
          response from RabbitMQ.