diff options
author | Gordon Sim <gsim@apache.org> | 2007-09-03 17:35:35 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-09-03 17:35:35 +0000 |
commit | 331b0e84ae06da0c057a82c0f5b67f550bcd636b (patch) | |
tree | 91342743f16ad473b456a5ef336409e4af38cd5a /python/qpid/client.py | |
parent | cadb67eb27e00abb493793363dcf37f4d2f563dc (diff) | |
download | qpid-python-331b0e84ae06da0c057a82c0f5b67f550bcd636b.tar.gz |
Initial implementation (plus very simple tests) of message.acquire, message.release, message.reject and message.flush.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@572394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/client.py')
-rw-r--r-- | python/qpid/client.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/qpid/client.py b/python/qpid/client.py index edcd1b8ad2..5734873c6f 100644 --- a/python/qpid/client.py +++ b/python/qpid/client.py @@ -126,6 +126,9 @@ class ClientDelegate(Delegate): def message_append(self, ch, msg): ch.references.get(msg.reference).append(msg.bytes) + def message_acquired(self, ch, msg): + ch.control_queue.put(msg) + def basic_deliver(self, ch, msg): self.client.queue(msg.consumer_tag).put(msg) |