From cec1521f9e022bf695dbeddf8ea9a1769dca9f94 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 12 Feb 2007 15:15:25 +0000 Subject: * qpid/client.py - altered handling of transfer for references, add the transfer to queue as before and require client to look up the reference themselves. this lets application access the other transfer fields * tests/message.py - added some more tests for references git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506477 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/client.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'python/qpid/client.py') diff --git a/python/qpid/client.py b/python/qpid/client.py index ed7dbca5d2..e14166c885 100644 --- a/python/qpid/client.py +++ b/python/qpid/client.py @@ -111,10 +111,7 @@ class ClientDelegate(Delegate): self.client.started.set() def message_transfer(self, ch, msg): - if isinstance(msg.body, ReferenceId): - self.client.queue(msg.destination).put(ch.references.get(msg.body.id)) - else: - self.client.queue(msg.destination).put(msg) + self.client.queue(msg.destination).put(msg) def message_open(self, ch, msg): ch.references.open(msg.reference) -- cgit v1.2.1