def on_queue_declareok(self, _):
logger.debug("<STR_LIT>", self._exchange, self._queue, self._routing_key)<EOL>if self._exchange:<EOL><INDENT>self._channel.queue_bind(self.on_bindok, self._queue, self._exchange, self._routing_key)<EOL><DEDENT>else:<EOL><INDENT>self.start_consuming()<EOL><DEDENT>
Invoked by pika when queue is declared

        This method will start consuming or first bind the queue to the exchange
        if an exchange is provided.

        After binding, the on_bindok method will be invoked by pika.

        :param pika.frame.Method _: The Queue.DeclareOk frame