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