@Component(value="sjms-batch")
public class SjmsBatchComponent
extends org.apache.camel.support.HeaderFilterStrategyComponent
Constructor and Description |
---|
SjmsBatchComponent() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doShutdown() |
protected ExecutorService |
getAsyncStartStopExecutorService() |
javax.jms.ConnectionFactory |
getConnectionFactory() |
int |
getRecoveryInterval() |
boolean |
isAsyncStartListener() |
void |
setAsyncStartListener(boolean asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route.
|
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
A ConnectionFactory is required to enable the SjmsBatchComponent.
|
void |
setRecoveryInterval(int recoveryInterval)
Specifies the interval between recovery attempts, i.e.
|
getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategy
afterConfiguration, createEndpoint, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doInit, doResume, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.support.DefaultComponent
Exception
public javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
public boolean isAsyncStartListener()
public void setAsyncStartListener(boolean asyncStartListener)
public int getRecoveryInterval()
public void setRecoveryInterval(int recoveryInterval)
protected void doShutdown() throws Exception
doShutdown
in class org.apache.camel.support.service.ServiceSupport
Exception
protected ExecutorService getAsyncStartStopExecutorService()
Apache Camel