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 | c87caf75ecebb4fd2eb3dafb732e77f4d7011283 (patch) | |
| tree | 89ccec5a1167e003ac33d8ac7c48a31c7739c57a /python/examples/pubsub | |
| parent | ca8e0ae1c7f635eff690561d6c4dc5cc6ec62fb2 (diff) | |
| download | qpid-python-c87caf75ecebb4fd2eb3dafb732e77f4d7011283.tar.gz | |
Qpid-745
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/examples/pubsub')
| -rw-r--r-- | python/examples/pubsub/topic_subscriber.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/pubsub/topic_subscriber.py b/python/examples/pubsub/topic_subscriber.py index 08682f0674..52ec67b77c 100644 --- a/python/examples/pubsub/topic_subscriber.py +++ b/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) |
