public static interface DisruptorComponentBuilderFactory.DisruptorComponentBuilder extends ComponentBuilder<org.apache.camel.component.disruptor.DisruptorComponent>
| Modifier and Type | Method and Description |
|---|---|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
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 DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
bufferSize(int bufferSize)
To configure the ring buffer size.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
defaultBlockWhenFull(boolean defaultBlockWhenFull)
To configure the default value for block when full The default value
is true.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
defaultConcurrentConsumers(int defaultConcurrentConsumers)
To configure the default number of concurrent consumers.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
defaultMultipleConsumers(boolean defaultMultipleConsumers)
To configure the default value for multiple consumers.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
defaultProducerType(org.apache.camel.component.disruptor.DisruptorProducerType defaultProducerType)
To configure the default value for DisruptorProducerType The default
value is Multi.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
defaultWaitStrategy(org.apache.camel.component.disruptor.DisruptorWaitStrategy defaultWaitStrategy)
To configure the default value for DisruptorWaitStrategy The default
value is Blocking.
|
default DisruptorComponentBuilderFactory.DisruptorComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
build, build, doSetProperty, registerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder bufferSize(int bufferSize)
int type.
Default: 1024
Group: commondefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder defaultConcurrentConsumers(int defaultConcurrentConsumers)
int type.
Default: 1
Group: consumerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder defaultMultipleConsumers(boolean defaultMultipleConsumers)
boolean type.
Default: false
Group: consumerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder defaultWaitStrategy(org.apache.camel.component.disruptor.DisruptorWaitStrategy defaultWaitStrategy)
org.apache.camel.component.disruptor.DisruptorWaitStrategy type.
Default: Blocking
Group: consumerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder defaultBlockWhenFull(boolean defaultBlockWhenFull)
boolean type.
Default: true
Group: producerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder defaultProducerType(org.apache.camel.component.disruptor.DisruptorProducerType defaultProducerType)
org.apache.camel.component.disruptor.DisruptorProducerType type.
Default: Multi
Group: producerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DisruptorComponentBuilderFactory.DisruptorComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advancedApache Camel