[ https://issues.apache.org/activemq/browse/CAMEL-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
christian ohr updated CAMEL-1568: --------------------------------- Attachment: IOConverter-1.6.1.patch Patch for 2.0m2 follows asap > 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 > Fix For: 1.6.1, 2.0-M2 > > Attachments: IOConverter-1.6.1.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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.