Interface Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
,Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
- Enclosing interface:
- Sjms2EndpointBuilderFactory
public static interface Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder extends Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder, Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
Advanced builder for endpoint for the Simple JMS2 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
asyncStartListener(boolean asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
asyncStartListener(String asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
asyncStopListener(boolean asyncStopListener)
Whether to stop the consumer message listener asynchronously, when stopping a route.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
asyncStopListener(String asyncStopListener)
Whether to stop the consumer message listener asynchronously, when stopping a route.default Sjms2EndpointBuilderFactory.Sjms2EndpointBuilder
basic()
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
connectionCount(Integer connectionCount)
The maximum number of connections available to this endpoint.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
connectionCount(String connectionCount)
The maximum number of connections available to this endpoint.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
connectionFactory(Object connectionFactory)
Initializes the connectionFactory for the endpoint, which takes precedence over the component's connectionFactory, if any.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
connectionFactory(String connectionFactory)
Initializes the connectionFactory for the endpoint, which takes precedence over the component's connectionFactory, if any.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
connectionResource(Object connectionResource)
Initializes the connectionResource for the endpoint, which takes precedence over the component's connectionResource, if any.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
connectionResource(String connectionResource)
Initializes the connectionResource for the endpoint, which takes precedence over the component's connectionResource, if any.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
destinationCreationStrategy(Object destinationCreationStrategy)
To use a custom DestinationCreationStrategy.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
destinationCreationStrategy(String destinationCreationStrategy)
To use a custom DestinationCreationStrategy.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
exceptionListener(Object exceptionListener)
Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
exceptionListener(String exceptionListener)
Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
includeAllJMSXProperties(boolean includeAllJMSXProperties)
Whether to include all JMSXxxx properties when mapping from JMS to Camel Message.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
includeAllJMSXProperties(String includeAllJMSXProperties)
Whether to include all JMSXxxx properties when mapping from JMS to Camel Message.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
jmsKeyFormatStrategy(Object jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
jmsKeyFormatStrategy(String jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
mapJmsMessage(boolean mapJmsMessage)
Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
mapJmsMessage(String mapJmsMessage)
Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
messageCreatedStrategy(Object 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 Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
messageCreatedStrategy(String 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 Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
sharedJMSSession(boolean sharedJMSSession)
Specifies whether to share JMS session with other SJMS endpoints.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder
sharedJMSSession(String sharedJMSSession)
Specifies whether to share JMS session with other SJMS endpoints.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, messageSelector
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
allowNullBody, allowNullBody, prefillPool, prefillPool, responseTimeOut, responseTimeOut
-
-
-
-
Method Detail
-
basic
default Sjms2EndpointBuilderFactory.Sjms2EndpointBuilder basic()
- Specified by:
basic
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
basic
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
asyncStartListener
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder asyncStartListener(boolean asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if the connection could not be established, then an exception is logged at WARN level, and the consumer will not be able to receive messages; You can then restart the route to retry. The option is a:boolean
type. Default: false Group: advanced- Specified by:
asyncStartListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
asyncStartListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
asyncStartListener
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder asyncStartListener(String asyncStartListener)
Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if the connection could not be established, then an exception is logged at WARN level, and the consumer will not be able to receive messages; You can then restart the route to retry. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
asyncStartListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
asyncStartListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
asyncStopListener
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder asyncStopListener(boolean asyncStopListener)
Whether to stop the consumer message listener asynchronously, when stopping a route. The option is a:boolean
type. Default: false Group: advanced- Specified by:
asyncStopListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
asyncStopListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
asyncStopListener
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder asyncStopListener(String asyncStopListener)
Whether to stop the consumer message listener asynchronously, when stopping a route. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
asyncStopListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
asyncStopListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
basicPropertyBinding
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:boolean
type. Default: false Group: advanced- Specified by:
basicPropertyBinding
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
basicPropertyBinding
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
basicPropertyBinding
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
basicPropertyBinding
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
basicPropertyBinding
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
connectionCount
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder connectionCount(Integer connectionCount)
The maximum number of connections available to this endpoint. The option is a:java.lang.Integer
type. Group: advanced- Specified by:
connectionCount
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
connectionCount
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
connectionCount
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder connectionCount(String connectionCount)
The maximum number of connections available to this endpoint. The option will be converted to ajava.lang.Integer
type. Group: advanced- Specified by:
connectionCount
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
connectionCount
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
connectionFactory
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder connectionFactory(Object connectionFactory)
Initializes the connectionFactory for the endpoint, which takes precedence over the component's connectionFactory, if any. The option is a:javax.jms.ConnectionFactory
type. Group: advanced- Specified by:
connectionFactory
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
connectionFactory
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
connectionFactory
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder connectionFactory(String connectionFactory)
Initializes the connectionFactory for the endpoint, which takes precedence over the component's connectionFactory, if any. The option will be converted to ajavax.jms.ConnectionFactory
type. Group: advanced- Specified by:
connectionFactory
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
connectionFactory
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
connectionResource
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder connectionResource(Object connectionResource)
Initializes the connectionResource for the endpoint, which takes precedence over the component's connectionResource, if any. The option is a:org.apache.camel.component.sjms.jms.ConnectionResource
type. Group: advanced- Specified by:
connectionResource
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
connectionResource
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
connectionResource
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder connectionResource(String connectionResource)
Initializes the connectionResource for the endpoint, which takes precedence over the component's connectionResource, if any. The option will be converted to aorg.apache.camel.component.sjms.jms.ConnectionResource
type. Group: advanced- Specified by:
connectionResource
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
connectionResource
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
destinationCreationStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder destinationCreationStrategy(Object destinationCreationStrategy)
To use a custom DestinationCreationStrategy. The option is a:org.apache.camel.component.sjms.jms.DestinationCreationStrategy
type. Group: advanced- Specified by:
destinationCreationStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
destinationCreationStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
destinationCreationStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder destinationCreationStrategy(String destinationCreationStrategy)
To use a custom DestinationCreationStrategy. The option will be converted to aorg.apache.camel.component.sjms.jms.DestinationCreationStrategy
type. Group: advanced- Specified by:
destinationCreationStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
destinationCreationStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
exceptionListener
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder exceptionListener(Object exceptionListener)
Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions. The option is a:javax.jms.ExceptionListener
type. Group: advanced- Specified by:
exceptionListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
exceptionListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
exceptionListener
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder exceptionListener(String exceptionListener)
Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions. The option will be converted to ajavax.jms.ExceptionListener
type. Group: advanced- Specified by:
exceptionListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
exceptionListener
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
headerFilterStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a:org.apache.camel.spi.HeaderFilterStrategy
type. Group: advanced- Specified by:
headerFilterStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
headerFilterStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
headerFilterStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to aorg.apache.camel.spi.HeaderFilterStrategy
type. Group: advanced- Specified by:
headerFilterStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
headerFilterStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
includeAllJMSXProperties
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder includeAllJMSXProperties(boolean includeAllJMSXProperties)
Whether to include all JMSXxxx properties when mapping from JMS to Camel Message. Setting this to true will include properties such as JMSXAppID, and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy then this option does not apply. The option is a:boolean
type. Default: false Group: advanced- Specified by:
includeAllJMSXProperties
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
includeAllJMSXProperties
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
includeAllJMSXProperties
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder includeAllJMSXProperties(String includeAllJMSXProperties)
Whether to include all JMSXxxx properties when mapping from JMS to Camel Message. Setting this to true will include properties such as JMSXAppID, and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy then this option does not apply. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
includeAllJMSXProperties
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
includeAllJMSXProperties
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
jmsKeyFormatStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder jmsKeyFormatStrategy(Object jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides two implementations out of the box: default and passthrough. The default strategy will safely marshal dots and hyphens (. and -). The passthrough strategy leaves the key as is. Can be used for JMS brokers which do not care whether JMS header keys contain illegal characters. You can provide your own implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using the # notation. The option is a:org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy
type. Group: advanced- Specified by:
jmsKeyFormatStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
jmsKeyFormatStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
jmsKeyFormatStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder jmsKeyFormatStrategy(String jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides two implementations out of the box: default and passthrough. The default strategy will safely marshal dots and hyphens (. and -). The passthrough strategy leaves the key as is. Can be used for JMS brokers which do not care whether JMS header keys contain illegal characters. You can provide your own implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using the # notation. The option will be converted to aorg.apache.camel.component.sjms.jms.JmsKeyFormatStrategy
type. Group: advanced- Specified by:
jmsKeyFormatStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
jmsKeyFormatStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
mapJmsMessage
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder mapJmsMessage(boolean mapJmsMessage)
Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc. See section about how mapping works below for more details. The option is a:boolean
type. Default: true Group: advanced- Specified by:
mapJmsMessage
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
mapJmsMessage
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
mapJmsMessage
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder mapJmsMessage(String mapJmsMessage)
Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc. See section about how mapping works below for more details. The option will be converted to aboolean
type. Default: true Group: advanced- Specified by:
mapJmsMessage
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
mapJmsMessage
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
messageCreatedStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder messageCreatedStrategy(Object 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. The option is a:org.apache.camel.component.sjms.jms.MessageCreatedStrategy
type. Group: advanced- Specified by:
messageCreatedStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
messageCreatedStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
messageCreatedStrategy
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder messageCreatedStrategy(String 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. The option will be converted to aorg.apache.camel.component.sjms.jms.MessageCreatedStrategy
type. Group: advanced- Specified by:
messageCreatedStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
messageCreatedStrategy
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
sharedJMSSession
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder sharedJMSSession(boolean sharedJMSSession)
Specifies whether to share JMS session with other SJMS endpoints. Turn this off if your route is accessing to multiple JMS providers. If you need transaction against multiple JMS providers, use jms component to leverage XA transaction. The option is a:boolean
type. Default: true Group: transaction (advanced)- Specified by:
sharedJMSSession
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
sharedJMSSession
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
sharedJMSSession
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointBuilder sharedJMSSession(String sharedJMSSession)
Specifies whether to share JMS session with other SJMS endpoints. Turn this off if your route is accessing to multiple JMS providers. If you need transaction against multiple JMS providers, use jms component to leverage XA transaction. The option will be converted to aboolean
type. Default: true Group: transaction (advanced)- Specified by:
sharedJMSSession
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
- Specified by:
sharedJMSSession
in interfaceSjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
-
-