Interface Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
Sjms2EndpointBuilderFactory.Sjms2EndpointBuilder
- Enclosing interface:
- Sjms2EndpointBuilderFactory
public static interface Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Simple JMS2 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
acknowledgementMode(String acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
acknowledgementMode(Sjms2EndpointBuilderFactory.SessionAcknowledgementType acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder
advanced()
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
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 Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
bridgeErrorHandler(String 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 Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
consumerCount(int consumerCount)
Sets the number of consumer listeners used for this endpoint.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
consumerCount(String consumerCount)
Sets the number of consumer listeners used for this endpoint.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
durable(boolean durable)
Sets topic consumer to durable.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
durable(String durable)
Sets topic consumer to durable.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
durableSubscriptionId(String durableSubscriptionId)
Sets the durable subscription Id required for durable topics.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
errorHandlerLoggingLevel(String errorHandlerLoggingLevel)
Allows to configure the default errorHandler logging level for logging uncaught exceptions.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
errorHandlerLoggingLevel(org.apache.camel.LoggingLevel errorHandlerLoggingLevel)
Allows to configure the default errorHandler logging level for logging uncaught exceptions.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
errorHandlerLogStackTrace(boolean errorHandlerLogStackTrace)
Allows to control whether stacktraces should be logged or not, by the default errorHandler.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
errorHandlerLogStackTrace(String errorHandlerLogStackTrace)
Allows to control whether stacktraces should be logged or not, by the default errorHandler.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
reconnectBackOff(long reconnectBackOff)
Backoff in millis on consumer pool reconnection attempts.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
reconnectBackOff(String reconnectBackOff)
Backoff in millis on consumer pool reconnection attempts.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
reconnectOnError(boolean reconnectOnError)
Try to apply reconnection logic on consumer pool.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
reconnectOnError(String reconnectOnError)
Try to apply reconnection logic on consumer pool.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
shared(boolean shared)
Sets the consumer to shared.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
shared(String shared)
Sets the consumer to shared.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
subscriptionId(String subscriptionId)
Sets the subscription Id, required for durable or shared topics.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported).default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported).default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transacted(boolean transacted)
Specifies whether to use transacted mode.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transacted(String transacted)
Specifies whether to use transacted mode.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transactionBatchCount(int transactionBatchCount)
Deprecated.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transactionBatchCount(String transactionBatchCount)
Deprecated.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transactionBatchTimeout(long transactionBatchTimeout)
Deprecated.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transactionBatchTimeout(String transactionBatchTimeout)
Deprecated.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transactionCommitStrategy(Object transactionCommitStrategy)
Sets the commit strategy.default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder
transactionCommitStrategy(String transactionCommitStrategy)
Sets the commit strategy.
-
-
-
Method Detail
-
advanced
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointConsumerBuilder advanced()
-
acknowledgementMode
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder acknowledgementMode(Sjms2EndpointBuilderFactory.SessionAcknowledgementType acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE. The option is a:org.apache.camel.component.sjms.jms.SessionAcknowledgementType
type. Default: AUTO_ACKNOWLEDGE Group: common
-
acknowledgementMode
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder acknowledgementMode(String acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE. The option will be converted to aorg.apache.camel.component.sjms.jms.SessionAcknowledgementType
type. Default: AUTO_ACKNOWLEDGE Group: common
-
bridgeErrorHandler
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder bridgeErrorHandler(String 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
consumerCount
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder consumerCount(int consumerCount)
Sets the number of consumer listeners used for this endpoint. The option is a:int
type. Default: 1 Group: consumer
-
consumerCount
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder consumerCount(String consumerCount)
Sets the number of consumer listeners used for this endpoint. The option will be converted to aint
type. Default: 1 Group: consumer
-
durable
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder durable(boolean durable)
Sets topic consumer to durable. The option is a:boolean
type. Default: false Group: consumer
-
durable
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder durable(String durable)
Sets topic consumer to durable. The option will be converted to aboolean
type. Default: false Group: consumer
-
durableSubscriptionId
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder durableSubscriptionId(String durableSubscriptionId)
Sets the durable subscription Id required for durable topics. The option is a:java.lang.String
type. Group: consumer
-
reconnectBackOff
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder reconnectBackOff(long reconnectBackOff)
Backoff in millis on consumer pool reconnection attempts. The option is a:long
type. Default: 5000 Group: consumer
-
reconnectBackOff
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder reconnectBackOff(String reconnectBackOff)
Backoff in millis on consumer pool reconnection attempts. The option will be converted to along
type. Default: 5000 Group: consumer
-
reconnectOnError
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder reconnectOnError(boolean reconnectOnError)
Try to apply reconnection logic on consumer pool. The option is a:boolean
type. Default: true Group: consumer
-
reconnectOnError
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder reconnectOnError(String reconnectOnError)
Try to apply reconnection logic on consumer pool. The option will be converted to aboolean
type. Default: true Group: consumer
-
shared
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder shared(boolean shared)
Sets the consumer to shared. The option is a:boolean
type. Default: false Group: consumer
-
shared
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder shared(String shared)
Sets the consumer to shared. The option will be converted to aboolean
type. Default: false Group: consumer
-
subscriptionId
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder subscriptionId(String subscriptionId)
Sets the subscription Id, required for durable or shared topics. The option is a:java.lang.String
type. Group: consumer
-
synchronous
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: true Group: consumer
-
synchronous
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: true Group: consumer
-
errorHandlerLoggingLevel
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder errorHandlerLoggingLevel(org.apache.camel.LoggingLevel errorHandlerLoggingLevel)
Allows to configure the default errorHandler logging level for logging uncaught exceptions. The option is a:org.apache.camel.LoggingLevel
type. Default: WARN Group: logging
-
errorHandlerLoggingLevel
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder errorHandlerLoggingLevel(String errorHandlerLoggingLevel)
Allows to configure the default errorHandler logging level for logging uncaught exceptions. The option will be converted to aorg.apache.camel.LoggingLevel
type. Default: WARN Group: logging
-
errorHandlerLogStackTrace
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder errorHandlerLogStackTrace(boolean errorHandlerLogStackTrace)
Allows to control whether stacktraces should be logged or not, by the default errorHandler. The option is a:boolean
type. Default: true Group: logging
-
errorHandlerLogStackTrace
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder errorHandlerLogStackTrace(String errorHandlerLogStackTrace)
Allows to control whether stacktraces should be logged or not, by the default errorHandler. The option will be converted to aboolean
type. Default: true Group: logging
-
transacted
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transacted(boolean transacted)
Specifies whether to use transacted mode. The option is a:boolean
type. Default: false Group: transaction
-
transacted
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transacted(String transacted)
Specifies whether to use transacted mode. The option will be converted to aboolean
type. Default: false Group: transaction
-
transactionBatchCount
@Deprecated default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transactionBatchCount(int transactionBatchCount)
Deprecated.If transacted sets the number of messages to process before committing a transaction. The option is a:int
type. Default: -1 Group: transaction
-
transactionBatchCount
@Deprecated default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transactionBatchCount(String transactionBatchCount)
Deprecated.If transacted sets the number of messages to process before committing a transaction. The option will be converted to aint
type. Default: -1 Group: transaction
-
transactionBatchTimeout
@Deprecated default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transactionBatchTimeout(long transactionBatchTimeout)
Deprecated.Sets timeout (in millis) for batch transactions, the value should be 1000 or higher. The option is a:long
type. Default: 5s Group: transaction
-
transactionBatchTimeout
@Deprecated default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transactionBatchTimeout(String transactionBatchTimeout)
Deprecated.Sets timeout (in millis) for batch transactions, the value should be 1000 or higher. The option will be converted to along
type. Default: 5s Group: transaction
-
transactionCommitStrategy
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transactionCommitStrategy(Object transactionCommitStrategy)
Sets the commit strategy. The option is a:org.apache.camel.component.sjms.TransactionCommitStrategy
type. Group: transaction
-
transactionCommitStrategy
default Sjms2EndpointBuilderFactory.Sjms2EndpointConsumerBuilder transactionCommitStrategy(String transactionCommitStrategy)
Sets the commit strategy. The option will be converted to aorg.apache.camel.component.sjms.TransactionCommitStrategy
type. Group: transaction
-
-