Interface SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
SedaEndpointBuilderFactory.SedaEndpointBuilder
- Enclosing interface:
- SedaEndpointBuilderFactory
public static interface SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the SEDA component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SedaEndpointBuilderFactory.AdvancedSedaEndpointConsumerBuilder
advanced()
default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
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 SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
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 SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
concurrentConsumers(int concurrentConsumers)
Number of concurrent threads processing exchanges.default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
concurrentConsumers(String concurrentConsumers)
Number of concurrent threads processing exchanges.default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
size(int size)
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder
size(String size)
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).
-
-
-
Method Detail
-
advanced
default SedaEndpointBuilderFactory.AdvancedSedaEndpointConsumerBuilder advanced()
-
size
default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder size(int size)
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). Will by default use the defaultSize set on the SEDA component. The option is a:int
type. Default: 1000 Group: common
-
size
default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder size(String size)
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). Will by default use the defaultSize set on the SEDA component. The option will be converted to aint
type. Default: 1000 Group: common
-
bridgeErrorHandler
default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder 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 SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder 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
-
concurrentConsumers
default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
Number of concurrent threads processing exchanges. The option is a:int
type. Default: 1 Group: consumer
-
concurrentConsumers
default SedaEndpointBuilderFactory.SedaEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
Number of concurrent threads processing exchanges. The option will be converted to aint
type. Default: 1 Group: consumer
-
-