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/pubsub | |
| 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/pubsub')
| -rw-r--r-- | qpid/python/examples/pubsub/topic_subscriber.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/examples/pubsub/topic_subscriber.py b/qpid/python/examples/pubsub/topic_subscriber.py index 08682f0674..52ec67b77c 100644 --- a/qpid/python/examples/pubsub/topic_subscriber.py +++ b/qpid/python/examples/pubsub/topic_subscriber.py @@ -22,9 +22,9 @@ def dump_queue(client, queue_name): consumer_tag = queue_name # Use the queue name as the consumer tag - need a unique tag queue = client.queue(consumer_tag) - # Call basic_consume() to tell the broker to deliver messages + # Call message_subscribe() to tell the broker to deliver messages # from the AMQP queue to a local client queue. The broker will - # start delivering messages as soon as basic_consume() is called. + # start delivering messages as soon as message_subscribe() is called. session.message_subscribe(queue=queue_name, destination=consumer_tag) session.message_flow(consumer_tag, 0, 0xFFFFFFFF) |
