activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Langlois <>
Subject RE: ActiveMQcpp cms::Session::createTextMessage() function usage question with ISO-8859-1 strings
Date Thu, 30 Jul 2009 22:02:35 GMT

Thank you for your answer. Howerver that brings another question :-). This is not something
I need but what someone having UTF-8 strings (containing japanese text coming from a db for
instance and stored into C++ std::string objects) could do to send his messages as is to the
broker with activemqcpp?

Is there a way to tell the API to skip the UTF-8 conversion?


> > Is the createTextMessage() function expect UTF-8 strings or regular ASCII
> strings are fine?
> >
> A methods in the CMS API that have string parameters expect standard C++
> strings that have been populated with ASCII values in the range 0-255.
> The UTF-8 conversion happens when the message is sent to the ActiveMQ
> broker which is a Java application whose strings are encoded in modified
> UTF-8.
> Regards
> Tim.
> --
> Tim Bish

View raw message