public class HttpServerSharedInitializerFactory extends HttpServerInitializerFactory
HttpServerInitializerFactory
for a shared Netty HTTP server.NettySharedHttpServer
consumer
Constructor and Description |
---|
HttpServerSharedInitializerFactory(NettySharedHttpServerBootstrapConfiguration configuration,
HttpServerConsumerChannelFactory channelFactory,
org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.netty.ServerInitializerFactory |
createPipelineFactory(org.apache.camel.component.netty.NettyConsumer nettyConsumer) |
protected void |
initChannel(io.netty.channel.Channel ch) |
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
public HttpServerSharedInitializerFactory(NettySharedHttpServerBootstrapConfiguration configuration, HttpServerConsumerChannelFactory channelFactory, org.apache.camel.CamelContext camelContext)
public org.apache.camel.component.netty.ServerInitializerFactory createPipelineFactory(org.apache.camel.component.netty.NettyConsumer nettyConsumer)
createPipelineFactory
in class HttpServerInitializerFactory
protected void initChannel(io.netty.channel.Channel ch) throws Exception
initChannel
in class HttpServerInitializerFactory
Exception
Apache Camel