Skip to content

Commit

Permalink
Merge pull request rabbitmq#225 from rabbitmq/rabbitmq-website-780
Browse files Browse the repository at this point in the history
Explicitly use queue parameter name
  • Loading branch information
lukebakken authored Jun 7, 2019
2 parents a814c87 + ea20da7 commit b887f23
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/receive_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

channel.exchange_declare(exchange='logs', exchange_type='fanout')

result = channel.queue_declare('', exclusive=True)
result = channel.queue_declare(queue='', exclusive=True)
queue_name = result.method.queue

channel.queue_bind(exchange='logs', queue=queue_name)
Expand Down
2 changes: 1 addition & 1 deletion python/receive_logs_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

channel.exchange_declare(exchange='direct_logs', exchange_type='direct')

result = channel.queue_declare('', exclusive=True)
result = channel.queue_declare(queue='', exclusive=True)
queue_name = result.method.queue

severities = sys.argv[1:]
Expand Down
2 changes: 1 addition & 1 deletion python/receive_logs_topic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

channel.exchange_declare(exchange='topic_logs', exchange_type='topic')

result = channel.queue_declare('', exclusive=True)
result = channel.queue_declare(queue='', exclusive=True)
queue_name = result.method.queue

binding_keys = sys.argv[1:]
Expand Down
2 changes: 1 addition & 1 deletion python/rpc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):

self.channel = self.connection.channel()

result = self.channel.queue_declare('', exclusive=True)
result = self.channel.queue_declare(queue='', exclusive=True)
self.callback_queue = result.method.queue

self.channel.basic_consume(
Expand Down

0 comments on commit b887f23

Please sign in to comment.