diff options
| author | Gordon Sim <gsim@apache.org> | 2012-11-19 12:43:16 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2012-11-19 12:43:16 +0000 |
| commit | 842009e73ae3a6825a5ade1da061773edc054b2a (patch) | |
| tree | 38e88cdb635dee4223199967efcfb9c964d45656 /qpid/cpp/examples/messaging | |
| parent | 72690607cac8beaf7d8041fa8edb9749cdb8d29b (diff) | |
| download | qpid-python-842009e73ae3a6825a5ade1da061773edc054b2a.tar.gz | |
QPID-4442: make spout example send properties as utf8 strings
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging')
| -rw-r--r-- | qpid/cpp/examples/messaging/spout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/examples/messaging/spout.cpp b/qpid/cpp/examples/messaging/spout.cpp index cd11a7ad81..72fcdc7c65 100644 --- a/qpid/cpp/examples/messaging/spout.cpp +++ b/qpid/cpp/examples/messaging/spout.cpp @@ -91,6 +91,7 @@ struct Options : OptionParser std::string value; if (nameval(property, name, value)) { message.getProperties()[name] = value; + message.getProperties()[name].setEncoding("utf8"); } else { message.getProperties()[name] = Variant(); } |
