code: def setup_queue(self, queue_name):
          
          logger.info('Declaring queue', name=queue_name)
          self._channel.queue_declare(
              self.on_queue_declareok, queue_name, durable=self._durable_queue
          )
docs: Setup the queue on RabbitMQ by invoking the Queue.Declare RPC
          command. When it is complete, the on_queue_declareok method will
          be invoked by pika.
  
          :param str|unicode queue_name: The name of the queue to declare.