qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serega <sergejs.melde...@sap.com>
Subject Re: Quotes in the message body
Date Fri, 28 Mar 2014 15:20:40 GMT
Thanks for the explanation. Yes, I used recv client. 

I had to also call pn_data_next(body) to make it work, so it looks like so 
--------------------------------------------------------------------------
pn_data_t *body = pn_message_body(message);
pn_data_next(body);
pn_bytes_t bytes =  pn_data_get_string(body);
--------------------------------------------------------------------------

The Qpid Proton needs more documentation and/or example code. The
messenger.h is very well documented, but I couldn't find any documentation
on how to read and write data (properties, body) from and to a message.  

Sergey



--
View this message in context: http://qpid.2158936.n2.nabble.com/Quotes-in-the-message-body-tp7606053p7606167.html
Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Mime
View raw message