summaryrefslogtreecommitdiff
path: root/python/qpid
diff options
context:
space:
mode:
authorKen Giusti <kgiusti@apache.org>2011-11-17 15:44:44 +0000
committerKen Giusti <kgiusti@apache.org>2011-11-17 15:44:44 +0000
commit8c9596abd4b8ef9beaaddad4249dba4be90427ad (patch)
tree77e274382c1ed63a53a372ac1b8bf3cb90474a9f /python/qpid
parent594af262626bb38de997c8099cf4efae87f3c433 (diff)
downloadqpid-python-8c9596abd4b8ef9beaaddad4249dba4be90427ad.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')
-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