lroloson wrote:
I have been successful with messages that are strings, but when trying to
send binary data, I get the following error;
 error: no matching function for call to
‘qpid::client::Message::setData(std::string, unsigned int)’. When I use the
call the  void qpid::client::Message::setData(const std::string&), the
message is clipped. qpid-tool shows only 2 bytes are queued. I am using the
cpp direct examples compiled and running in Linux (Revision: 801239).






If your data has /0 in it then you need to specify the 'unsigned int' -- length. Did you do this?

Carl.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to