activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonas Larsson (JIRA)" <>
Subject [jira] Updated: (AMQNET-46) ActiveMQTextMessage is not encoding strings properly as UTF-8
Date Thu, 21 Jun 2007 23:26:33 GMT


Jonas Larsson updated AMQNET-46:

    Attachment: utf8fix-asl2.patch

Here is a code patch with a licence granted to ASL 2.0

> ActiveMQTextMessage is not encoding strings properly as UTF-8
> -------------------------------------------------------------
>                 Key: AMQNET-46
>                 URL:
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>            Reporter: Jonas Larsson
>            Assignee: James Strachan
>            Priority: Critical
>         Attachments: utf8fix-asl2.patch, utf8fix.patch
> Non ASCII characters in the Payload of a TextMessage is not properly encoded to UTF-8
when sent over the wire.
> This causes the ActiveMQ server to throw an exception like this and is blocking for supporting
nationalized characters (such as Chinese):
> javax.jms.JMSException:
> 	at org.apache.activemq.util.JMSExceptionSupport.create(
> 	at org.apache.activemq.command.ActiveMQTextMessage.getText(
> 	at com.mansion.integration.playtech.AccountEventListener.onMessage(
> Attached is a patch that fixes the problem for the message body, but the problem probably
exists for String properties also.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message