Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Dec 17, 2018
2 parents e76e2ea + 2f6c19f commit f378f84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/twisted_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def setup_read(self, exchange, routing_key, callback):
yield self.channel.queue_declare(queue=routing_key, durable=True)
if exchange:
yield self.channel.queue_bind(queue=routing_key, exchange=exchange)
yield self.channel.queue_bind(queue=routing_key, exchange=exchange, routing_key=routing_key)

(queue, consumer_tag,) = yield self.channel.basic_consume(queue=routing_key, auto_ack=False)
d = queue.get()
Expand Down

0 comments on commit f378f84

Please sign in to comment.