summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/python/qpid/driver.py1
-rw-r--r--qpid/python/qpid/messaging.py1
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: