public static interface DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DisruptorVmEndpointBuilderFactory.AdvancedDisruptorVmEndpointProducerBuilder |
advanced() |
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
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 DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
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 DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
producerType(DisruptorVmEndpointBuilderFactory.DisruptorProducerType producerType)
Defines the producers allowed on the Disruptor.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
producerType(String producerType)
Defines the producers allowed on the Disruptor.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
size(int size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
size(String size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
timeout(long timeout)
Timeout (in milliseconds) before a producer will stop waiting for an
asynchronous task to complete.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
timeout(String timeout)
Timeout (in milliseconds) before a producer will stop waiting for an
asynchronous task to complete.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
waitForTaskToComplete(String waitForTaskToComplete)
Option to specify whether the caller should wait for the async task
to complete or not before continuing.
|
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder |
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 DisruptorVmEndpointBuilderFactory.AdvancedDisruptorVmEndpointProducerBuilder advanced()
default DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder size(int size)
int type.
Default: 1024
Group: commondefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder size(String size)
int type.
Default: 1024
Group: commondefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder blockWhenFull(boolean blockWhenFull)
boolean type.
Default: false
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder blockWhenFull(String blockWhenFull)
boolean type.
Default: false
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder producerType(DisruptorVmEndpointBuilderFactory.DisruptorProducerType producerType)
org.apache.camel.component.disruptor.DisruptorProducerType type.
Default: Multi
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder producerType(String producerType)
org.apache.camel.component.disruptor.DisruptorProducerType type.
Default: Multi
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder timeout(long timeout)
long type.
Default: 30000
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder timeout(String timeout)
long type.
Default: 30000
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete
type.
Default: IfReplyExpected
Group: producerdefault DisruptorVmEndpointBuilderFactory.DisruptorVmEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete type.
Default: IfReplyExpected
Group: producerApache Camel