Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
qpid-cpp-1.40.0
-
None
-
None
-
QPID C++ version 1.39.0, master: c58d88b32d294d048ae064e7948f703bed3a7fa0
amqp 1.0
Windows 10
Library compiled with Visual Studio toolchain: msvc-12, 64 bits, Debug
qpid-cpp\src\qpid\messaging\ interface used.
Description
Message sent with 'int8_t' value property is corrupted. The type is interpreted as long.
This issue is only observed with int8_t type.
...
qpid::messaging::Sender m_sender;
...
const std::string msgString = "this is the message string";
auto msg = Message(msgString);
Variant::Map content;
int8_t value = 1;
content["CustomInt8"] = value;
msg.setProperties(content);
m_sender.send(msg, true);