diff options
author | Gordon Sim <gsim@apache.org> | 2009-11-19 11:46:00 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-11-19 11:46:00 +0000 |
commit | 1ea31fb5ea5e9240776600d81ae4742aefa51320 (patch) | |
tree | 41416cfa50902b240ef8a7175ee15718a9dea91e /cpp/src/qpid/messaging/MapContent.cpp | |
parent | 82faa3a8fe5406506855e99373734e84f3f0d581 (diff) | |
download | qpid-python-1ea31fb5ea5e9240776600d81ae4742aefa51320.tar.gz |
QPID-664: Add spout & drain examples as per python client
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882118 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/MapContent.cpp')
-rw-r--r-- | cpp/src/qpid/messaging/MapContent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/messaging/MapContent.cpp b/cpp/src/qpid/messaging/MapContent.cpp index c653561fc9..6dba22be99 100644 --- a/cpp/src/qpid/messaging/MapContent.cpp +++ b/cpp/src/qpid/messaging/MapContent.cpp @@ -41,6 +41,7 @@ class MapContentImpl : public Variant { qpid::client::amqp0_10::MapCodec codec; codec.encode(*this, msg->getContent()); + msg->setContentType(qpid::client::amqp0_10::MapCodec::contentType); } }; |