public static interface SjmsComponentBuilderFactory.SjmsComponentBuilder extends ComponentBuilder<org.apache.camel.component.sjms.SjmsComponent>
| Modifier and Type | Method and Description |
|---|---|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionClientId(String connectionClientId)
The client ID to use when creating javax.jms.Connection when using
the default
org.apache.camel.component.sjms.jms.ConnectionFactoryResource.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionCount(Integer connectionCount)
The maximum number of connections available to endpoints started
under this component.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionFactory(javax.jms.ConnectionFactory connectionFactory)
A ConnectionFactory is required to enable the SjmsComponent.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionMaxWait(long connectionMaxWait)
The max wait time in millis to block and wait on free connection when
the pool is exhausted when using the default
org.apache.camel.component.sjms.jms.ConnectionFactoryResource.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionPassword(String connectionPassword)
The password to use when creating javax.jms.Connection when using the
default
org.apache.camel.component.sjms.jms.ConnectionFactoryResource.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionResource(org.apache.camel.component.sjms.jms.ConnectionResource connectionResource)
A ConnectionResource is an interface that allows for customization
and container control of the ConnectionFactory.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionTestOnBorrow(boolean connectionTestOnBorrow)
When using the default
org.apache.camel.component.sjms.jms.ConnectionFactoryResource then
should each javax.jms.Connection be tested (calling start) before
returned from the pool.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
connectionUsername(String connectionUsername)
The username to use when creating javax.jms.Connection when using the
default
org.apache.camel.component.sjms.jms.ConnectionFactoryResource.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
destinationCreationStrategy(org.apache.camel.component.sjms.jms.DestinationCreationStrategy destinationCreationStrategy)
To use a custom DestinationCreationStrategy.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
header to and from Camel message.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
jmsKeyFormatStrategy(org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be
compliant with the JMS specification.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
messageCreatedStrategy(org.apache.camel.component.sjms.jms.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.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
reconnectBackOff(long reconnectBackOff)
Backoff in millis on consumer pool reconnection attempts.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
reconnectOnError(boolean reconnectOnError)
Try to apply reconnection logic on consumer pool.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
timedTaskManager(org.apache.camel.component.sjms.taskmanager.TimedTaskManager timedTaskManager)
To use a custom TimedTaskManager.
|
default SjmsComponentBuilderFactory.SjmsComponentBuilder |
transactionCommitStrategy(org.apache.camel.component.sjms.TransactionCommitStrategy transactionCommitStrategy)
To configure which kind of commit strategy to use.
|
build, build, doSetProperty, registerdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionCount(Integer connectionCount)
connectionCount - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionFactory(javax.jms.ConnectionFactory connectionFactory)
connectionFactory - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder reconnectBackOff(long reconnectBackOff)
reconnectBackOff - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder reconnectOnError(boolean reconnectOnError)
reconnectOnError - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionClientId(String connectionClientId)
connectionClientId - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionMaxWait(long connectionMaxWait)
connectionMaxWait - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionResource(org.apache.camel.component.sjms.jms.ConnectionResource connectionResource)
connectionResource - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionTestOnBorrow(boolean connectionTestOnBorrow)
connectionTestOnBorrow - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder destinationCreationStrategy(org.apache.camel.component.sjms.jms.DestinationCreationStrategy destinationCreationStrategy)
destinationCreationStrategy - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder jmsKeyFormatStrategy(org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy jmsKeyFormatStrategy)
jmsKeyFormatStrategy - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder messageCreatedStrategy(org.apache.camel.component.sjms.jms.MessageCreatedStrategy messageCreatedStrategy)
messageCreatedStrategy - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder timedTaskManager(org.apache.camel.component.sjms.taskmanager.TimedTaskManager timedTaskManager)
timedTaskManager - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
headerFilterStrategy - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionPassword(String connectionPassword)
connectionPassword - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder connectionUsername(String connectionUsername)
connectionUsername - the value to setdefault SjmsComponentBuilderFactory.SjmsComponentBuilder transactionCommitStrategy(org.apache.camel.component.sjms.TransactionCommitStrategy transactionCommitStrategy)
transactionCommitStrategy - the value to setApache Camel