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: 2.0-M1, 1.6.0
Reporter: christian ohr
Fix For: 1.6.1, 2.0-M2
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.