From 6f5ac5e46bf238ba59a3617fe6a1d8f90659c3b8 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 17 Dec 2009 16:43:42 +0000 Subject: 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 --- qpid/python/qpid/driver.py | 1 + qpid/python/qpid/messaging.py | 1 + 2 files changed, 2 insertions(+) (limited to 'qpid/python') 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: -- cgit v1.2.1