summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-07-06 15:41:33 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-07-06 15:41:33 +0000
commitb247f9265f1b7720e844904d127e28d66cca8f1d (patch)
treefeaff3e0da6c721bbee76e0087aa04103264dad5 /qpid/cpp/include
parent89bfc533e5e3ee9def2db6d984c017c375f11935 (diff)
downloadqpid-python-b247f9265f1b7720e844904d127e28d66cca8f1d.tar.gz
QPID-3883: Using application headers in messages causes a very large slowdown
Add subject to outgoing messsage before encoding it to save a round trip decode-encode. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358275 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/amqp_0_10/Codecs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/amqp_0_10/Codecs.h b/qpid/cpp/include/qpid/amqp_0_10/Codecs.h
index 73846f33a8..d632a9f20a 100644
--- a/qpid/cpp/include/qpid/amqp_0_10/Codecs.h
+++ b/qpid/cpp/include/qpid/amqp_0_10/Codecs.h
@@ -69,6 +69,8 @@ class QPID_COMMON_CLASS_EXTERN ListCodec
*/
QPID_COMMON_EXTERN void translate(const qpid::types::Variant::Map& from,
qpid::framing::FieldTable& to);
+QPID_COMMON_EXTERN void translate(const qpid::types::Variant::Map& from, const std::string& efield, const qpid::types::Variant& evalue,
+ qpid::framing::FieldTable& to);
QPID_COMMON_EXTERN void translate(const qpid::framing::FieldTable& from,
qpid::types::Variant::Map& to);