diff options
| author | Ted Ross <tross@apache.org> | 2010-02-01 16:02:41 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-02-01 16:02:41 +0000 |
| commit | e217dad606f1acf8e9ccd11fcbc832681b17737d (patch) | |
| tree | 523376b2b3c02768f088689e217c7fb1f172fe65 /qpid/python/examples | |
| parent | 0defb143a4ef03f77436efe81f1f7902e828b6b4 (diff) | |
| download | qpid-python-e217dad606f1acf8e9ccd11fcbc832681b17737d.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@905316 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples')
| -rwxr-xr-x | qpid/python/examples/headers/declare_queues.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 --------------------------------------------- |
