qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r891794 - in /qpid/trunk/qpid/python/qpid: driver.py messaging.py
Date Thu, 17 Dec 2009 16:43:44 GMT
Author: rhs
Date: Thu Dec 17 16:43:42 2009
New Revision: 891794

URL: http://svn.apache.org/viewvc?rev=891794&view=rev
Log:
QPID-2292: added the redelivered flag to the message class

Modified:
    qpid/trunk/qpid/python/qpid/driver.py
    qpid/trunk/qpid/python/qpid/messaging.py

Modified: qpid/trunk/qpid/python/qpid/driver.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/driver.py?rev=891794&r1=891793&r2=891794&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/driver.py (original)
+++ qpid/trunk/qpid/python/qpid/driver.py Thu Dec 17 16:43:42 2009
@@ -852,6 +852,7 @@
       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

Modified: qpid/trunk/qpid/python/qpid/messaging.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/messaging.py?rev=891794&r1=891793&r2=891794&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/messaging.py (original)
+++ qpid/trunk/qpid/python/qpid/messaging.py Thu Dec 17 16:43:42 2009
@@ -787,6 +787,7 @@
     self.reply_to = reply_to
     self.correlation_id = correlation_id
     self.durable = durable
+    self.redelivered = False
     if properties is None:
       self.properties = {}
     else:



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message