From e217dad606f1acf8e9ccd11fcbc832681b17737d Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 1 Feb 2010 16:02:41 +0000 Subject: 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@905316 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/examples/headers/declare_queues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/python/examples') diff --git a/qpid/python/examples/headers/declare_queues.py b/qpid/python/examples/headers/declare_queues.py index b3d5c43fe5..e976f71e55 100755 --- a/qpid/python/examples/headers/declare_queues.py +++ b/qpid/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 --------------------------------------------- -- cgit v1.2.1