public class HttpServerBootstrapFactory
extends org.apache.camel.component.netty.SingleTCPNettyServerBootstrapFactory
Constructor and Description |
---|
HttpServerBootstrapFactory(HttpServerConsumerChannelFactory channelFactory) |
HttpServerBootstrapFactory(HttpServerConsumerChannelFactory channelFactory,
boolean compatibleCheck) |
Modifier and Type | Method and Description |
---|---|
void |
addConsumer(org.apache.camel.component.netty.NettyConsumer consumer) |
protected void |
doStart() |
void |
init(org.apache.camel.CamelContext camelContext,
org.apache.camel.component.netty.NettyServerBootstrapConfiguration configuration,
org.jboss.netty.channel.ChannelPipelineFactory pipelineFactory) |
void |
removeConsumer(org.apache.camel.component.netty.NettyConsumer consumer) |
void |
stop() |
addChannel, doResume, doStop, doSuspend, init, removeChannel, startServerBootstrap, stopServerBootstrap
doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, suspend
public HttpServerBootstrapFactory(HttpServerConsumerChannelFactory channelFactory)
public HttpServerBootstrapFactory(HttpServerConsumerChannelFactory channelFactory, boolean compatibleCheck)
public void init(org.apache.camel.CamelContext camelContext, org.apache.camel.component.netty.NettyServerBootstrapConfiguration configuration, org.jboss.netty.channel.ChannelPipelineFactory pipelineFactory)
init
in interface org.apache.camel.component.netty.NettyServerBootstrapFactory
init
in class org.apache.camel.component.netty.SingleTCPNettyServerBootstrapFactory
public void addConsumer(org.apache.camel.component.netty.NettyConsumer consumer)
addConsumer
in interface org.apache.camel.component.netty.NettyServerBootstrapFactory
addConsumer
in class org.apache.camel.component.netty.SingleTCPNettyServerBootstrapFactory
public void removeConsumer(org.apache.camel.component.netty.NettyConsumer consumer)
removeConsumer
in interface org.apache.camel.component.netty.NettyServerBootstrapFactory
removeConsumer
in class org.apache.camel.component.netty.SingleTCPNettyServerBootstrapFactory
protected void doStart() throws Exception
doStart
in class org.apache.camel.component.netty.SingleTCPNettyServerBootstrapFactory
Exception
Apache Camel