summaryrefslogtreecommitdiff
path: root/python/qpid/client.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2007-01-18 17:56:44 +0000
committerRafael H. Schloming <rhs@apache.org>2007-01-18 17:56:44 +0000
commit5b6ca65abd333e0ea15790ec351bfb67a7013a5e (patch)
tree86332583cc0be84981bde900cdac825865599392 /python/qpid/client.py
parent7a26e1d6aa0018e44120bef39903c4ce55676141 (diff)
downloadqpid-python-5b6ca65abd333e0ea15790ec351bfb67a7013a5e.tar.gz
made message-transfer return a result, switched over message delivery to use message-transfer, added a generated .copy() to method bodies, and made hello-world acknowledge the message it sends to itself
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/client.py')
-rw-r--r--python/qpid/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/qpid/client.py b/python/qpid/client.py
index 3083cd4933..34d7790c39 100644
--- a/python/qpid/client.py
+++ b/python/qpid/client.py
@@ -100,6 +100,9 @@ class ClientDelegate(Delegate):
msg.tune_ok(*msg.frame.args)
self.client.started.set()
+ def message_transfer(self, ch, msg):
+ self.client.queue(msg.destination).put(msg)
+
def basic_deliver(self, ch, msg):
self.client.queue(msg.consumer_tag).put(msg)