qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adel Boutros <Adelbout...@live.com>
Subject [Proton-c] [0.14.0] C++ sending/receiving bytes and map messages
Date Thu, 20 Oct 2016 12:59:23 GMT
Hello,


It seems with 0.12.2, we were able to receive a bytes message by using (msg.body.get(std::string)).
However it seems this is no longer the case on 0.14.0.


I was wondering if there is there an example which explain how to send bytes and map messages?


I found the below code for bytes in reactor_send.cpp :

        proton::binary content;
        content.assign((size_t) size, 'X');
        message_.body(content);



Regards,


Adel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message