public interface ChannelHandlerFactory
extends io.netty.channel.ChannelHandler
ChannelHandler
used for non shareable encoders and decoders configured on the Camel
NettyComponent
.
This is needed as Netty's ChannelHandler
is often not shareable and therefore a new instance must be created
when a handler is being added to a pipeline.Modifier and Type | Method and Description |
---|---|
io.netty.channel.ChannelHandler |
newChannelHandler()
Creates a new
ChannelHandler to be used. |
Apache Camel