public class RouteboxSedaConsumer extends RouteboxServiceSupport implements RouteboxConsumer, Runnable, org.apache.camel.spi.ShutdownAware
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.AsyncProcessor |
processor |
protected org.apache.camel.ProducerTemplate |
producer |
| Constructor and Description |
|---|
RouteboxSedaConsumer(RouteboxSedaEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deferShutdown(org.apache.camel.ShutdownRunningTask shutdownRunningTask) |
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.Endpoint |
getEndpoint() |
int |
getPendingExchangesSize() |
org.apache.camel.AsyncProcessor |
getProcessor() |
void |
prepareShutdown(boolean forced) |
void |
run() |
void |
setProcessor(org.apache.camel.AsyncProcessor processor) |
doStartInnerContext, doStopInnerContext, getExceptionHandler, getExecutor, getRouteboxEndpoint, isStartedInnerContext, setExceptionHandler, setExecutor, setRouteboxEndpoint, setStartedInnerContextdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendprotected org.apache.camel.AsyncProcessor processor
protected org.apache.camel.ProducerTemplate producer
public RouteboxSedaConsumer(RouteboxSedaEndpoint endpoint, org.apache.camel.Processor processor)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.ServiceSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.ServiceSupportExceptionpublic org.apache.camel.Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.Consumerpublic boolean deferShutdown(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
deferShutdown in interface org.apache.camel.spi.ShutdownAwarepublic int getPendingExchangesSize()
getPendingExchangesSize in interface org.apache.camel.spi.ShutdownAwarepublic void prepareShutdown(boolean forced)
prepareShutdown in interface org.apache.camel.spi.ShutdownPreparedpublic void setProcessor(org.apache.camel.AsyncProcessor processor)
public org.apache.camel.AsyncProcessor getProcessor()
Apache Camel