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) |
createExchange, createUoW, defaultConsumerCallback, doBuild, doInit, doneUoW, doShutdown, getAsyncProcessor, getExceptionHandler, getHealthCheck, getProcessor, getRoute, getRouteId, handleException, handleException, releaseExchange, setExceptionHandler, setHealthCheck, setRoute, setRouteId, toStringbuild, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic NettyConsumer(NettyEndpoint nettyEndpoint, org.apache.camel.Processor processor, NettyConfiguration configuration)
public NettyEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultConsumerprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultConsumerExceptionpublic 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