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 | 9bd6e56199e52d025061d6e568727306138045ab (patch) | |
tree | 5beda6738a8bbeafb8b713593ab7b0de62926458 | |
parent | 69d56a233cd6dbe02287c8a237a18fbc7505f140 (diff) | |
download | qpid-python-9bd6e56199e52d025061d6e568727306138045ab.tar.gz |
QPID-2292: added the redelivered flag to the message class
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891794 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | python/qpid/driver.py | 1 | ||||
-rw-r--r-- | python/qpid/messaging.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/python/qpid/driver.py b/python/qpid/driver.py index e31276ad7b..2851c3aad3 100644 --- a/python/qpid/driver.py +++ b/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/python/qpid/messaging.py b/python/qpid/messaging.py index 5dd8b22ee3..4f2c190ce2 100644 --- a/python/qpid/messaging.py +++ b/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: |