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