Looks like you're using the wrong charset. Your example message says that it is encoded with ISO-IR-87 but the Camel's HL7 codec by default the system's default charset. Configure the HL7 codec again with the ISO-IR-87 charset and try again.

    <bean id="hl7codec"  class="org.apache.camel.component.hl7.HL7MLLPCodec">
        <property name="charset"  value="ISO-IR-87"/>
    </bean>


Does that help?

Am 11.02.11 10:07, schrieb Martin Krasser:
Ok thanks, I'll take a look as soon as I can. Please let me know how it works with another client.

Cheers,
Martin

Am 11.02.11 10:01, schrieb hoopzhou:
Hi
Thanks for your quick reply.

I use b) .

Sorry. I am not a user of Jira. I just attached the message for quick.
http://camel.465427.n5.nabble.com/file/n3380820/ADTA01.txt ADTA01.txt

I use a internal tool to send the message. I used this tool to send message
to 7edit receiver successfully before. So I did not doubt this tool:)
I will try to write new client to verify this again.

Thank you and best wishes
zhou nan


--
Martin Krasser

blog:    http://krasserm.blogspot.com
code:    http://github.com/krasserm
twitter: http://twitter.com/mrt1nz

Reply via email to