def stop_consuming(self):
if self._channel:<EOL><INDENT>logger.debug('<STR_LIT>')<EOL>self._channel.basic_cancel(self.on_cancelok, self._consumer_tag)<EOL><DEDENT>
Tell RabbitMQ that we would like to stop consuming.