activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject RE: ActiveMQcpp cms::Session::createTextMessage() function usage question with ISO-8859-1 strings
Date Thu, 30 Jul 2009 22:10:15 GMT
On Thu, 2009-07-30 at 18:02 -0400, Olivier Langlois wrote:
> Tim,
> 
> 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?
> 
> Greetings,
> Olivier
> 

Your only option at the moment is to send them as a payload in a
BytesMessage, the CMS API doesn't define any methods that support
Unicode strings currently.

Regards
Tim.

-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/




Mime
View raw message