On 07/12/2015 08:03 PM, plsph wrote:
it doesn't work with setContentObject, there should be
msg.getContentObject().setEncoding()
but it still doesn't help with my issue.
i use qpid-cpp 0.32, activemq 11.1
code is something like:

Message msg(content);
msg.setContentType() <- i was trying everything, jms-type, text/plain
msg.getContentObject().setEncoding()
sender.send(msg)

Try:

Message msg;
msg.setContentObject(content);
msg.getContentObject().setEncoding("utf8");
sender.send(msg)

Reply via email to