summaryrefslogtreecommitdiff
path: root/python/qpid/messaging
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2011-11-17 15:44:44 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2011-11-17 15:44:44 +0000
commit20f65f668959a8ffaf60350cd936ce4815ff21b0 (patch)
tree77e274382c1ed63a53a372ac1b8bf3cb90474a9f /python/qpid/messaging
parent3214ce92d4bf7dcb922214c1b477e50fa196a7e0 (diff)
downloadqpid-python-20f65f668959a8ffaf60350cd936ce4815ff21b0.tar.gz
QPID-3626: fix python client access to timestamp delivery property
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1203225 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging')
-rw-r--r--python/qpid/messaging/driver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/qpid/messaging/driver.py b/python/qpid/messaging/driver.py
index 7c21388213..23efeaaa4f 100644
--- a/python/qpid/messaging/driver.py
+++ b/python/qpid/messaging/driver.py
@@ -1325,6 +1325,8 @@ class Engine:
msg.properties["x-amqp-0-10.content-encoding"] = mp.content_encoding
if dp.routing_key is not None:
msg.properties["x-amqp-0-10.routing-key"] = dp.routing_key
+ if dp.timestamp is not None:
+ msg.properties["x-amqp-0-10.timestamp"] = dp.timestamp
msg.content_type = mp.content_type
msg._transfer_id = xfr.id
return msg