summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-01-04 22:25:39 +0000
committerTed Ross <tross@apache.org>2010-01-04 22:25:39 +0000
commit64bf552c31dba94f27ef147c1974c336564f3c50 (patch)
tree591dca09cd04890b46913f16e3a8939b096b3ac9 /qpid/python
parent8fc21f402dfef2e82233d4694bd67650e8df1d3a (diff)
downloadqpid-python-64bf552c31dba94f27ef147c1974c336564f3c50.tar.gz
QPID-2318 - qpid-tool does not seem to issue session acknowledgements
Added accept for received messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@895803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/management.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/python/qpid/management.py b/qpid/python/qpid/management.py
index 325ab4903d..5ba936aa0b 100644
--- a/qpid/python/qpid/management.py
+++ b/qpid/python/qpid/management.py
@@ -196,11 +196,13 @@ class managementChannel:
""" Receive messages via the topic queue on this channel. """
if self.enabled:
self.tcb (self, msg)
+ self.ssn.message_accept(RangedSet(msg.id))
def replyCb (self, msg):
""" Receive messages via the reply queue on this channel. """
if self.enabled:
self.rcb (self, msg)
+ self.ssn.message_accept(RangedSet(msg.id))
def exceptionCb (self, data):
if self.ecb != None: