diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-12-17 16:43:42 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-12-17 16:43:42 +0000 |
commit | 6f5ac5e46bf238ba59a3617fe6a1d8f90659c3b8 (patch) | |
tree | 9ab8ad744c7cf598f91321212b2cb154d85da855 | |
parent | 44b839ea5b3f68fedf9efe9289ba18b097bf0682 (diff) | |
download | qpid-python-6f5ac5e46bf238ba59a3617fe6a1d8f90659c3b8.tar.gz |
QPID-2292: added the redelivered flag to the message class
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@891794 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/python/qpid/driver.py | 1 | ||||
-rw-r--r-- | qpid/python/qpid/messaging.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qpid/python/qpid/driver.py b/qpid/python/qpid/driver.py index e31276ad7b..2851c3aad3 100644 --- a/qpid/python/qpid/driver.py +++ b/qpid/python/qpid/driver.py @@ -852,6 +852,7 @@ class Driver: msg.reply_to = reply_to2addr(mp.reply_to) msg.correlation_id = mp.correlation_id msg.durable = dp.delivery_mode == delivery_mode.persistent + msg.redelivered = dp.redelivered msg.properties = mp.application_headers msg.content_type = mp.content_type msg._transfer_id = xfr.id diff --git a/qpid/python/qpid/messaging.py b/qpid/python/qpid/messaging.py index 5dd8b22ee3..4f2c190ce2 100644 --- a/qpid/python/qpid/messaging.py +++ b/qpid/python/qpid/messaging.py @@ -787,6 +787,7 @@ class Message: self.reply_to = reply_to self.correlation_id = correlation_id self.durable = durable + self.redelivered = False if properties is None: self.properties = {} else: |