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

How to identify channel initialization in camel-netty

How to identify new channel initialization in camel-netty? 

If i am going to use ChannelHandler then  is it possible to use encoders &
decoders in parallel? 



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-identify-channel-initialization-in-camel-netty-tp5761677.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to identify channel initialization in camel-netty

Posted by Willem Jiang <wi...@gmail.com>.
If you look up the calling reference of DefaultClientPipelineFactory.getPipeline() and DefaultServerPipelineFactory.getPipeline(), you should be able to find out the channel initialisation there.

You should create a new ChannelHandler in the ChannelHandlerFactory to avoid using encoders & decoders in parallel.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On January 14, 2015 at 8:57:16 PM, V4Vaithi (alagappan.info@gmail.com) wrote:
> How to identify new channel initialization in camel-netty?
>  
> If i am going to use ChannelHandler then is it possible to use encoders &
> decoders in parallel?
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-identify-channel-initialization-in-camel-netty-tp5761677.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>