Package org.apache.camel.component.netty
Class DefaultClientInitializerFactory
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
org.apache.camel.component.netty.ClientInitializerFactory
org.apache.camel.component.netty.DefaultClientInitializerFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePipelineFactory
(NettyProducer producer) Creates a newClientInitializerFactory
using the givenNettyProducer
protected void
initChannel
(io.netty.channel.Channel ch) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
Constructor Details
-
Method Details
-
initChannel
- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<io.netty.channel.Channel>
- Throws:
Exception
-
createPipelineFactory
Description copied from class:ClientInitializerFactory
Creates a newClientInitializerFactory
using the givenNettyProducer
- Specified by:
createPipelineFactory
in classClientInitializerFactory
- Parameters:
producer
- the associated producers- Returns:
- the
ClientInitializerFactory
associated to the given producer.
-