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,
io.netty.channel.ChannelInitializer<io.netty.channel.Channel> pipelineFactory) |
void |
removeConsumer(org.apache.camel.component.netty.NettyConsumer consumer) |
void |
stop() |
addChannel, doStop, init, removeChannel, startServerBootstrap, stopServerBootstrap
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, io.netty.channel.ChannelInitializer<io.netty.channel.Channel> 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
public void stop()
stop
in interface org.apache.camel.Service
stop
in class org.apache.camel.support.service.BaseService
Apache Camel