Re: HL7 messages become unusable after convertBodyTo(String.class)

2009-04-27 Thread christian ohr
I added a JIRA issue (https://issues.apache.org/activemq/browse/CAMEL-1568) and provided a patch for both camel-1.x branch and trunk. cheers Christian christian ohr wrote: > > Hi, me again... > > Another problem I came across: > when reading HL7 messages e.g. from a stream, they become unusab

Re: HL7 messages become unusable after convertBodyTo(String.class)

2009-04-24 Thread christian ohr
Hadrian, I guess the remark about the patch refers to the HL7 Decoder problem - I haven't submitted one for the convertBodyTo() ... yet. The piece of code wasn't originally intended as patch, more of a proposal how to resolve the issue. If the releases are not on Monday ;-) I'm confident I can p

Re: HL7 messages become unusable after convertBodyTo(String.class)

2009-04-24 Thread Hadrian Zbarcea
@Christian, the patch you submitted requires a bit of work to be applied to Camel. At least the "package bla;" needs to change, and the apache license headers applied, a unit test and so forth. I could do this part if you don't have time. However we would need a sample HL7 message that