camel-users mailing list archives

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

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
'startByte';



<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"/>
 </bean>



Thanks
Sandeep




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-route-with-mina2-and-HL7codec-not-working-tp5755981p5756015.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message