public static interface DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DisruptorVmEndpointBuilderFactory.AdvancedDisruptorVmEndpointConsumerBuilder |
advanced() |
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
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 DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
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 DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
concurrentConsumers(int concurrentConsumers)
Number of concurrent threads processing exchanges.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
concurrentConsumers(String concurrentConsumers)
Number of concurrent threads processing exchanges.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
multipleConsumers(boolean multipleConsumers)
Specifies whether multiple consumers are allowed.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
multipleConsumers(String multipleConsumers)
Specifies whether multiple consumers are allowed.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
size(int size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
size(String size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
waitStrategy(DisruptorVmEndpointBuilderFactory.DisruptorWaitStrategy waitStrategy)
Defines the strategy used by consumer threads to wait on new
exchanges to be published.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder |
waitStrategy(String waitStrategy)
Defines the strategy used by consumer threads to wait on new
exchanges to be published.
|
default DisruptorVmEndpointBuilderFactory.AdvancedDisruptorVmEndpointConsumerBuilder advanced()
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder size(int size)
int type.
Default: 1024
Group: commondefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder size(String size)
int type.
Default: 1024
Group: commondefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
int type.
Default: 1
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
int type.
Default: 1
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder multipleConsumers(boolean multipleConsumers)
boolean type.
Default: false
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder multipleConsumers(String multipleConsumers)
boolean type.
Default: false
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder waitStrategy(DisruptorVmEndpointBuilderFactory.DisruptorWaitStrategy waitStrategy)
org.apache.camel.component.disruptor.DisruptorWaitStrategy type.
Default: Blocking
Group: consumerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointConsumerBuilder waitStrategy(String waitStrategy)
org.apache.camel.component.disruptor.DisruptorWaitStrategy type.
Default: Blocking
Group: consumerApache Camel