public class SjmsBatchConsumer
extends org.apache.camel.support.DefaultConsumer
Modifier and Type | Class and Description |
---|---|
protected class |
SjmsBatchConsumer.StartConsumerTask
Task to startup the consumer either synchronously or using asynchronous with recovery
|
Modifier and Type | Field and Description |
---|---|
static String |
SJMS_BATCH_TIMEOUT_CHECKER |
Constructor and Description |
---|
SjmsBatchConsumer(SjmsBatchEndpoint sjmsBatchEndpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
SjmsBatchEndpoint |
getEndpoint() |
ScheduledExecutorService |
getTimeoutCheckerExecutorService() |
void |
setTimeoutCheckerExecutorService(ScheduledExecutorService timeoutCheckerExecutorService) |
createUoW, doInit, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public static final String SJMS_BATCH_TIMEOUT_CHECKER
public SjmsBatchConsumer(SjmsBatchEndpoint sjmsBatchEndpoint, org.apache.camel.Processor processor)
public SjmsBatchEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.support.DefaultConsumer
public ScheduledExecutorService getTimeoutCheckerExecutorService()
public void setTimeoutCheckerExecutorService(ScheduledExecutorService timeoutCheckerExecutorService)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.DefaultConsumer
Exception
Apache Camel