You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by V4Vaithi <al...@gmail.com> on 2015/01/13 18:16:06 UTC

Camel Netty - ReadTimeout not trigerred properly after adding custom encoder / decoder

ReadTimeout event is not triggered properly after adding custom
encoder/decoder to endpoint.

I am using DelimiterBasedFrameDecoder & StringEncoder as custom codecs.

My Route Confuiguration is as follows

<route id="route1"> <from uri="wmq:queue:queue1?disableReplyTo=true" />
<process ref="byteResponseMessage" /> <to
uri="bean:messageLogger?method=log" /> <to
uri="netty:tcp://127.0.0.21:2626?decoders=#stxEtxDecoder,#byteToString&amp;e‌​ncoders=#stxEtxEncoder&amp;sync=true&amp;requestTimeout=5000"
/> <to uri="bean:messageLogger?method=fromlog" /> <process ref="validate"/>
</route>
 



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Netty-ReadTimeout-not-trigerred-properly-after-adding-custom-encoder-decoder-tp5761652.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: Camel Netty - ReadTimeout not trigerred properly after adding custom encoder / decoder

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Please use the @user mailing list / user forum for these kind of questions

On Tue, Jan 13, 2015 at 6:16 PM, V4Vaithi <al...@gmail.com> wrote:
> ReadTimeout event is not triggered properly after adding custom
> encoder/decoder to endpoint.
>
> I am using DelimiterBasedFrameDecoder & StringEncoder as custom codecs.
>
> My Route Confuiguration is as follows
>
> <route id="route1"> <from uri="wmq:queue:queue1?disableReplyTo=true" />
> <process ref="byteResponseMessage" /> <to
> uri="bean:messageLogger?method=log" /> <to
> uri="netty:tcp://127.0.0.21:2626?decoders=#stxEtxDecoder,#byteToString&amp;e‌ncoders=#stxEtxEncoder&amp;sync=true&amp;requestTimeout=5000"
> /> <to uri="bean:messageLogger?method=fromlog" /> <process ref="validate"/>
> </route>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Netty-ReadTimeout-not-trigerred-properly-after-adding-custom-encoder-decoder-tp5761652.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/