public class SjmsComponent
extends org.apache.camel.impl.UriEndpointComponent
implements org.apache.camel.spi.HeaderFilterStrategyAware
Constructor and Description |
---|
SjmsComponent() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
protected ExecutorService |
getAsyncStartStopExecutorService() |
Integer |
getConnectionCount() |
javax.jms.ConnectionFactory |
getConnectionFactory() |
ConnectionResource |
getConnectionResource() |
DestinationCreationStrategy |
getDestinationCreationStrategy() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
JmsKeyFormatStrategy |
getJmsKeyFormatStrategy() |
MessageCreatedStrategy |
getMessageCreatedStrategy() |
TimedTaskManager |
getTimedTaskManager() |
TransactionCommitStrategy |
getTransactionCommitStrategy() |
void |
setConnectionCount(Integer maxConnections)
The maximum number of connections available to endpoints started under this component
|
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
A ConnectionFactory is required to enable the SjmsComponent.
|
void |
setConnectionResource(ConnectionResource connectionResource)
A ConnectionResource is an interface that allows for customization and container control of the ConnectionFactory.
|
void |
setDestinationCreationStrategy(DestinationCreationStrategy destinationCreationStrategy)
To use a custom DestinationCreationStrategy.
|
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.
|
void |
setJmsKeyFormatStrategy(JmsKeyFormatStrategy jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification.
|
void |
setMessageCreatedStrategy(MessageCreatedStrategy messageCreatedStrategy)
To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message
objects when Camel is sending a JMS message.
|
void |
setTimedTaskManager(TimedTaskManager timedTaskManager)
To use a custom TimedTaskManager
|
void |
setTransactionCommitStrategy(TransactionCommitStrategy commitStrategy)
To configure which kind of commit strategy to use.
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultComponent
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultComponent
Exception
protected void doShutdown() throws Exception
doShutdown
in class org.apache.camel.support.ServiceSupport
Exception
protected ExecutorService getAsyncStartStopExecutorService()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
public javax.jms.ConnectionFactory getConnectionFactory()
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy
in interface org.apache.camel.spi.HeaderFilterStrategyAware
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
setHeaderFilterStrategy
in interface org.apache.camel.spi.HeaderFilterStrategyAware
public void setConnectionResource(ConnectionResource connectionResource)
public ConnectionResource getConnectionResource()
public void setConnectionCount(Integer maxConnections)
public Integer getConnectionCount()
public void setJmsKeyFormatStrategy(JmsKeyFormatStrategy jmsKeyFormatStrategy)
public JmsKeyFormatStrategy getJmsKeyFormatStrategy()
public TransactionCommitStrategy getTransactionCommitStrategy()
public void setTransactionCommitStrategy(TransactionCommitStrategy commitStrategy)
public DestinationCreationStrategy getDestinationCreationStrategy()
public void setDestinationCreationStrategy(DestinationCreationStrategy destinationCreationStrategy)
public TimedTaskManager getTimedTaskManager()
public void setTimedTaskManager(TimedTaskManager timedTaskManager)
public MessageCreatedStrategy getMessageCreatedStrategy()
public void setMessageCreatedStrategy(MessageCreatedStrategy messageCreatedStrategy)
Apache Camel