public class NettyConsumer
extends org.apache.camel.support.DefaultConsumer
Constructor and Description |
---|
NettyConsumer(NettyEndpoint nettyEndpoint,
org.apache.camel.Processor processor,
NettyConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
NettyConfiguration |
getConfiguration() |
org.apache.camel.CamelContext |
getContext() |
NettyEndpoint |
getEndpoint() |
NettyServerBootstrapFactory |
getNettyServerBootstrapFactory() |
protected boolean |
isTcp() |
void |
setConfiguration(NettyConfiguration configuration) |
void |
setNettyServerBootstrapFactory(NettyServerBootstrapFactory nettyServerBootstrapFactory) |
createUoW, doInit, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
build, doBuild, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public NettyConsumer(NettyEndpoint nettyEndpoint, org.apache.camel.Processor processor, NettyConfiguration configuration)
public NettyEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.support.DefaultConsumer
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.DefaultConsumer
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.DefaultConsumer
Exception
public org.apache.camel.CamelContext getContext()
public NettyConfiguration getConfiguration()
public void setConfiguration(NettyConfiguration configuration)
public NettyServerBootstrapFactory getNettyServerBootstrapFactory()
public void setNettyServerBootstrapFactory(NettyServerBootstrapFactory nettyServerBootstrapFactory)
protected boolean isTcp()
Apache Camel