how to send chinese message to acitvemq with delphi?

View: New views
2 Messages — Rating Filter:   Alert me  

how to send chinese message to acitvemq with delphi?

by bdhdf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

when I send chinese message  to activemq server with delphi7  ,On Activemq server it receved exception code .  can you help me ?

at line:

Re: how to send chinese message to acitvemq with delphi?

by Dejan Bosanac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I guess you send your messages over Stomp, so they are probably not encoded
well on the client side. You can try using base64 encoding on your message
body before sending them to the broker (and decoding them afterwards).

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Nov 4, 2009 at 9:24 AM, bdhdf <qiutian_hdf@...> wrote:

>
> when I send chinese message  to activemq server with delphi7  ,On Activemq
> server it receved exception code .  can you help me ?
>
> at line:
>
> http://old.nabble.com/file/p26192567/%25E6%259C%25AA%25E5%2591%25BD%25E5%2590%258D.jpg
> --
> View this message in context:
> http://old.nabble.com/how-to-send-chinese-message-to-acitvemq-with-delphi--tp26192567p26192567.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net