summaryrefslogtreecommitdiff
path: root/python/qpid/management.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/management.py')
-rw-r--r--python/qpid/management.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/management.py b/python/qpid/management.py
index f831ee472e..6f68981e4c 100644
--- a/python/qpid/management.py
+++ b/python/qpid/management.py
@@ -129,8 +129,8 @@ class managementChannel:
def shutdown (self):
self.enabled = False
- self.ssn.message_cancel (destination="tdest")
- self.ssn.message_cancel (destination="rdest")
+ self.ssn.incoming("tdest").stop()
+ self.ssn.incoming("rdest").stop()
def topicCb (self, msg):
""" Receive messages via the topic queue on this channel. """