You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Michal Kasperek (Jira)" <ji...@apache.org> on 2019/09/25 11:54:00 UTC
[jira] [Updated] (QPID-8362) Message sent with 'int8_t' value
property is corrupted
[ https://issues.apache.org/jira/browse/QPID-8362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Kasperek updated QPID-8362:
----------------------------------
Summary: Message sent with 'int8_t' value property is corrupted (was: Messsage property of int8 type )
> Message sent with 'int8_t' value property is corrupted
> ------------------------------------------------------
>
> Key: QPID-8362
> URL: https://issues.apache.org/jira/browse/QPID-8362
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: qpid-cpp-1.40.0
> Environment: Windows 10.
> Library compiled with Visual Studio toolchain: msvc-12, 64 bits, Debug
> qpid-cpp\src\qpid\messaging\ interface used.
> Reporter: Michal Kasperek
> Priority: Major
> Attachments: image-2019-09-25-13-46-54-001.png
>
>
> 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);
> !image-2019-09-25-13-46-54-001.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org