Hi, me again...

Another problem I came across:
when reading HL7 messages e.g. from a stream, they become unusable after
running though a convertBodyTo(String.class) converter for further
processing.

The reason is that the converter uses the readLine() method of a
BufferedReader which splits up at "\r" and/or "\n" characters, but then the
string is always aggregated with "\n". As HL7 segments MUST be separated by
"\r", you need to convert all "\n" into "\r" afterwards, which is pretty
annoying. Please also see
http://gforge.openehealth.org/gf/project/ipf/tracker/?action=TrackerItemEdit&tracker_item_id=128

I will have a closer look at it and see if I can provide a patch next
week....

cheers
Christian
http://gforge.openehealth.org/gf/project/ipf/
-- 
View this message in context: 
http://www.nabble.com/HL7-messages-become-unusable-after-convertBodyTo%28String.class%29-tp23219748p23219748.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to