summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/messaging/MapContent.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-11-19 11:46:00 +0000
committerGordon Sim <gsim@apache.org>2009-11-19 11:46:00 +0000
commit1ea31fb5ea5e9240776600d81ae4742aefa51320 (patch)
tree41416cfa50902b240ef8a7175ee15718a9dea91e /cpp/src/qpid/messaging/MapContent.cpp
parent82faa3a8fe5406506855e99373734e84f3f0d581 (diff)
downloadqpid-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.cpp1
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);
}
};