diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-11-17 15:44:44 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-11-17 15:44:44 +0000 |
commit | 012bf3db1746fc978d58b4a944179e7ca0c7fda6 (patch) | |
tree | 04fce874e2e8d8f203edb599cd40361a9448dd80 /qpid/python | |
parent | d1290922dfd5814200e9bc7111a07cecd712d3df (diff) | |
download | qpid-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.py | 2 |
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 |