camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gnsandeep <>
Subject Re: Camel route with mina2 and HL7codec not working
Date Wed, 03 Sep 2014 15:31:54 GMT

Thanks for your reply.After adding the second end byte it works fine. I
thought I  should be getting some error in logs when i don't send the second
end byte. 

Can you please help with below questions

Can I avoid second end byte by setting some property in mina2 codec bean? Is
the second end byte mandatory?

How do I change the start and end bye default values?
I  tried to change the start byte  and first end byte by updating codec
property but got error:TypeMismatchException: Failed to convert property
value of type 'java.lang.String' to required type 'char' for property

<bean id="hl7codec" class="org.apache.camel.component.hl7.HL7MLLPCodec" >
		<property name="charset" value="UTF-8"/>
        <property name="startByte" value="0x0b"/>
        <property name="endByte1" value="0x1c"/>


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message