You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/04/28 07:01:39 UTC
[jira] Resolved: (CAMEL-1568) Converting from stream/reader to
string changes line breaks other than "\n"
[ https://issues.apache.org/activemq/browse/CAMEL-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1568.
--------------------------------
Resolution: Fixed
trunk: 769239.
1.x: 769241.
> 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.