public class SjmsBatchConsumer
extends org.apache.camel.impl.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, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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.EndpointAwaregetEndpoint in class org.apache.camel.impl.DefaultConsumerpublic ScheduledExecutorService getTimeoutCheckerExecutorService()
public void setTimeoutCheckerExecutorService(ScheduledExecutorService timeoutCheckerExecutorService)
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultConsumerExceptionApache Camel