diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-06-11 21:31:12 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-06-11 21:31:12 +0000 |
commit | 2becbf6ae901b1c7aecebe95087fd308fc611627 (patch) | |
tree | e3d3cef115a248b2d6ccfe84e69ee348a12e9702 /qpid/python/examples/pubsub | |
parent | 38ac6f27ea2cb49b0161202e13f222875e5e2b44 (diff) | |
download | qpid-python-2becbf6ae901b1c7aecebe95087fd308fc611627.tar.gz |
replaced example usages of message_flow with the start() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@666850 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples/pubsub')
-rwxr-xr-x | qpid/python/examples/pubsub/topic_subscriber.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/python/examples/pubsub/topic_subscriber.py b/qpid/python/examples/pubsub/topic_subscriber.py index 4ba8e6a680..039cc0c55b 100755 --- a/qpid/python/examples/pubsub/topic_subscriber.py +++ b/qpid/python/examples/pubsub/topic_subscriber.py @@ -41,8 +41,7 @@ def subscribe_queue(server_queue_name, local_queue_name): queue = session.incoming(local_queue_name) session.message_subscribe(queue=server_queue_name, destination=local_queue_name) - session.message_flow(local_queue_name, session.credit_unit.message, 0xFFFFFFFF) - session.message_flow(local_queue_name, session.credit_unit.byte, 0xFFFFFFFF) + queue.start() return queue |