public static interface DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DisruptorEndpointBuilderFactory.AdvancedDisruptorEndpointProducerBuilder |
advanced() |
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
blockWhenFull(boolean blockWhenFull)
Whether a thread that sends messages to a full Disruptor will block
until the ringbuffer's capacity is no longer exhausted.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
blockWhenFull(String blockWhenFull)
Whether a thread that sends messages to a full Disruptor will block
until the ringbuffer's capacity is no longer exhausted.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
producerType(DisruptorEndpointBuilderFactory.DisruptorProducerType producerType)
Defines the producers allowed on the Disruptor.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
producerType(String producerType)
Defines the producers allowed on the Disruptor.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
size(int size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
size(String size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
timeout(long timeout)
Timeout (in milliseconds) before a producer will stop waiting for an
asynchronous task to complete.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
timeout(String timeout)
Timeout (in milliseconds) before a producer will stop waiting for an
asynchronous task to complete.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
waitForTaskToComplete(String waitForTaskToComplete)
Option to specify whether the caller should wait for the async task
to complete or not before continuing.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
Option to specify whether the caller should wait for the async task
to complete or not before continuing.
|
default DisruptorEndpointBuilderFactory.AdvancedDisruptorEndpointProducerBuilder advanced()
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder size(int size)
int type.
Default: 1024
Group: commondefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder size(String size)
int type.
Default: 1024
Group: commondefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder blockWhenFull(boolean blockWhenFull)
boolean type.
Default: false
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder blockWhenFull(String blockWhenFull)
boolean type.
Default: false
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder producerType(DisruptorEndpointBuilderFactory.DisruptorProducerType producerType)
org.apache.camel.component.disruptor.DisruptorProducerType type.
Default: Multi
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder producerType(String producerType)
org.apache.camel.component.disruptor.DisruptorProducerType type.
Default: Multi
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder timeout(long timeout)
long type.
Default: 30000
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder timeout(String timeout)
long type.
Default: 30000
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete
type.
Default: IfReplyExpected
Group: producerdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete type.
Default: IfReplyExpected
Group: producerApache Camel