Interface VmEndpointBuilderFactory.VmEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
VmEndpointBuilderFactory.VmEndpointBuilder
- Enclosing interface:
- VmEndpointBuilderFactory
public static interface VmEndpointBuilderFactory.VmEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilderBuilder for endpoint consumers for the VM component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default VmEndpointBuilderFactory.AdvancedVmEndpointConsumerBuilderadvanced()default VmEndpointBuilderFactory.VmEndpointConsumerBuilderbridgeErrorHandler(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 VmEndpointBuilderFactory.VmEndpointConsumerBuilderbridgeErrorHandler(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 VmEndpointBuilderFactory.VmEndpointConsumerBuilderconcurrentConsumers(int concurrentConsumers)Number of concurrent threads processing exchanges.default VmEndpointBuilderFactory.VmEndpointConsumerBuilderconcurrentConsumers(String concurrentConsumers)Number of concurrent threads processing exchanges.default VmEndpointBuilderFactory.VmEndpointConsumerBuildersize(int size)The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).default VmEndpointBuilderFactory.VmEndpointConsumerBuildersize(String size)The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).
-
-
-
Method Detail
-
advanced
default VmEndpointBuilderFactory.AdvancedVmEndpointConsumerBuilder advanced()
-
size
default VmEndpointBuilderFactory.VmEndpointConsumerBuilder 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: <code>int</code> type. Default: 1000 Group: common- Parameters:
size- the value to set- Returns:
- the dsl builder
-
size
default VmEndpointBuilderFactory.VmEndpointConsumerBuilder 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 a <code>int</code> type. Default: 1000 Group: common- Parameters:
size- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default VmEndpointBuilderFactory.VmEndpointConsumerBuilder 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: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default VmEndpointBuilderFactory.VmEndpointConsumerBuilder 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 a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default VmEndpointBuilderFactory.VmEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
Number of concurrent threads processing exchanges. The option is a: <code>int</code> type. Default: 1 Group: consumer- Parameters:
concurrentConsumers- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default VmEndpointBuilderFactory.VmEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
Number of concurrent threads processing exchanges. The option will be converted to a <code>int</code> type. Default: 1 Group: consumer- Parameters:
concurrentConsumers- the value to set- Returns:
- the dsl builder
-
-