summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-02-01 16:02:41 +0000
committerTed Ross <tross@apache.org>2010-02-01 16:02:41 +0000
commita8d83333c8050c18918e370d2f0bb9621b0038c7 (patch)
tree6c908f50fa3376ef6c1239a5f6577f8e1167d7f6 /python
parent93f7bacbf0e93c179ecc641ded5b6b207d7cbc1d (diff)
downloadqpid-python-a8d83333c8050c18918e370d2f0bb9621b0038c7.tar.gz
Added missing binding_key values to the headers bindings. This allows the bindings to be
later deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905316 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rwxr-xr-xpython/examples/headers/declare_queues.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/headers/declare_queues.py b/python/examples/headers/declare_queues.py
index b3d5c43fe5..e976f71e55 100755
--- a/python/examples/headers/declare_queues.py
+++ b/python/examples/headers/declare_queues.py
@@ -67,10 +67,10 @@ session = connection.session(str(uuid4()))
# exchange_bind() determines which messages are routed to a queue.
session.queue_declare(queue="first")
-session.exchange_bind(exchange="amq.match", queue="first", arguments={'x-match':'any', 'class':'first'})
+session.exchange_bind(exchange="amq.match", queue="first", binding_key="first", arguments={'x-match':'any', 'class':'first'})
session.queue_declare(queue="second")
-session.exchange_bind(exchange="amq.match", queue="second", arguments={'x-match':'any', 'class':'second'})
+session.exchange_bind(exchange="amq.match", queue="second", binding_key="second", arguments={'x-match':'any', 'class':'second'})
#----- Cleanup ---------------------------------------------