[
https://issues.apache.org/activemq/browse/CAMEL-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-1568:
----------------------------------
Assignee: Claus Ibsen
> Converting from stream/reader to string changes line breaks other than "\n"
> ---------------------------------------------------------------------------
>
> Key: CAMEL-1568
> URL: https://issues.apache.org/activemq/browse/CAMEL-1568
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.6.0, 2.0-M1
> Reporter: christian ohr
> Assignee: Claus Ibsen
> Fix For: 1.6.1, 2.0-M2
>
> Attachments: IOConverter-1.6.1.patch, IOConverter-2.0m2.patch
>
>
> The IOConverter#toString(Reader/Stream) copies the input data line by line. A
> line is considered to be terminated by any one of a line feed ('\n'), a
> carriage return ('\r'), or a carriage return followed immediately by a
> linefeed. Unfortunately, the lines are always concatenated with "\n", so that
> HL7 messages (which use "\r") become unusable after conversion.
> Also see
> http://www.nabble.com/HL7-messages-become-unusable-after-convertBodyTo%28String.class%29-td23219748.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.