You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2013/02/26 18:21:31 UTC
svn commit: r1450289 - /qpid/trunk/qpid/cpp/src/tests/qpid-send.cpp
Author: astitcher
Date: Tue Feb 26 17:21:31 2013
New Revision: 1450289
URL: http://svn.apache.org/r1450289
Log:
QPID-4603: Teach qpid-send to send bool/int/float properties as well as strings
Modified:
qpid/trunk/qpid/cpp/src/tests/qpid-send.cpp
Modified: qpid/trunk/qpid/cpp/src/tests/qpid-send.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/qpid-send.cpp?rev=1450289&r1=1450288&r2=1450289&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/qpid-send.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/qpid-send.cpp Tue Feb 26 17:21:31 2013
@@ -200,7 +200,7 @@ struct Options : public qpid::Options
std::string name;
std::string value;
if (nameval(property, name, value)) {
- message.getProperties()[name] = value;
+ message.getProperties()[name].parse(value);
} else {
message.getProperties()[name] = Variant();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org