diff options
| author | Gordon Sim <gsim@apache.org> | 2014-08-04 17:31:03 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-08-04 17:31:03 +0000 |
| commit | 34b9e6385180b17cd6b702a0344239d815c6b7de (patch) | |
| tree | 2f9bb2ba8f70da350717822235128b376f78ca55 /qpid/cpp/src | |
| parent | 50df04164f38eb08b0d3919c7b420462efcf3124 (diff) | |
| download | qpid-python-34b9e6385180b17cd6b702a0344239d815c6b7de.tar.gz | |
QPID-5959: allow content encoding to be read
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1615699 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp b/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp index 14fc09505d..77041d431a 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp @@ -150,6 +150,9 @@ void EncodedMessage::populate(qpid::types::Variant::Map& map) const if (to) { map["x-amqp-to"] = to.str(); } + if (contentEncoding) { + map["x-amqp-content-encoding"] = contentEncoding.str(); + } if (!!absoluteExpiryTime) { map["x-amqp-absolute-expiry-time"] = absoluteExpiryTime.get(); } |
