You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Arjen Duursma (JIRA)" <ji...@apache.org> on 2012/06/04 22:36:22 UTC

[jira] [Updated] (CAMEL-5304) Unable to turn-off \n to \r conversion in HL7Converter

     [ https://issues.apache.org/jira/browse/CAMEL-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arjen Duursma updated CAMEL-5304:
---------------------------------

    Attachment: CamelTest.zip

Project containing 3 test-cases for ACK'ing a HL7 message. I would assume all three should succeed, but third one fails as I don't know how to kill \n to \r conversions
                
> Unable to turn-off \n to \r conversion in HL7Converter
> ------------------------------------------------------
>
>                 Key: CAMEL-5304
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5304
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-hl7
>    Affects Versions: 2.9.2
>            Reporter: Arjen Duursma
>            Priority: Minor
>         Attachments: CamelTest.zip
>
>
> The HL7MLLPCodes allows a setting (convertLFtoCR) to enable of disable the conversion of \n characters to \r.  The type converter from String to Messages has that same conversion hardcoded without an option to turn it off.  This means I cannot process messages which contain embeded \n characters in a ED (encapsulated data) section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira