camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Tarocchi (JIRA)" <>
Subject [jira] [Created] (CAMEL-5943) camel-hl7 marshal charset error
Date Tue, 08 Jan 2013 22:10:12 GMT
Andrea Tarocchi created CAMEL-5943:

             Summary: camel-hl7 marshal charset  error
                 Key: CAMEL-5943
             Project: Camel
          Issue Type: Bug
          Components: camel-hl7
         Environment: All
            Reporter: Andrea Tarocchi
            Priority: Critical

Suppose you have an environment with default charset = ISO-8859-1 and a route like this one:
<bean id="hl7codec" class="org.apache.camel.component.hl7.HL7MLLPCodec">
    <property name="charset" value="utf-8" />
<camel:from uri="mina2:tcp://localhost:8787?sync=true&amp;codec=#hl7codec"/>
//do someting with hl7 object
//do someting with hl7 string

The marshal fail because it use default charset (ISO-8859-1 in this example) without taking
in account the Exchange.CHARSET_NAME property (UTF-8 in this example)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message