diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2008-01-18 10:36:50 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2008-01-18 10:36:50 +0000 |
| commit | 70f2437cc12aa48958a0ff3f7a1d59ce29a5eb47 (patch) | |
| tree | e3e8c9f4c0806ad304472fe2f1b54c5152819eac /qpid/python/examples/direct/declare_queues.py | |
| parent | f1322e3e4a41c1282ac7daf3a8b0764beb7cea1b (diff) | |
| download | qpid-python-70f2437cc12aa48958a0ff3f7a1d59ce29a5eb47.tar.gz | |
Qpid-745
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples/direct/declare_queues.py')
| -rw-r--r-- | qpid/python/examples/direct/declare_queues.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qpid/python/examples/direct/declare_queues.py b/qpid/python/examples/direct/declare_queues.py index e64ad678b8..0160f66a1d 100644 --- a/qpid/python/examples/direct/declare_queues.py +++ b/qpid/python/examples/direct/declare_queues.py @@ -1,6 +1,6 @@ #!/usr/bin/env python """ - config_direct_exchange.py + declare_queues.py Creates and binds a queue on an AMQP direct exchange. @@ -33,9 +33,6 @@ session.session_open() #----- Create a queue ------------------------------------- -# Create a queue named "listener" on channel 1, and bind it -# to the "amq.direct" exchange. -# # queue_declare() creates an AMQP queue, which is held # on the broker. Published messages are sent to the AMQP queue, # from which messages are delivered to consumers. @@ -51,3 +48,4 @@ session.queue_bind(exchange="amq.direct", queue="message_queue", routing_key="ro session.session_close() + |
