summaryrefslogtreecommitdiff
path: root/qpid/python
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
commit012bf3db1746fc978d58b4a944179e7ca0c7fda6 (patch)
tree04fce874e2e8d8f203edb599cd40361a9448dd80 /qpid/python
parentd1290922dfd5814200e9bc7111a07cecd712d3df (diff)
downloadqpid-python-012bf3db1746fc978d58b4a944179e7ca0c7fda6.tar.gz
QPID-3626: fix python client access to timestamp delivery property
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203225 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/messaging/driver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/python/qpid/messaging/driver.py b/qpid/python/qpid/messaging/driver.py
index 7c21388213..23efeaaa4f 100644
--- a/qpid/python/qpid/messaging/driver.py
+++ b/qpid/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