def on_bindok(self, unused_frame):
        """
        This method is invoked by pika when it receives the Queue.BindOk
        response from RabbitMQ.
        """
        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")
This method is invoked by pika when it receives the Queue.BindOk
        response from RabbitMQ.