public static interface SedaEndpointBuilderFactory.SedaEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default SedaEndpointBuilderFactory.AdvancedSedaEndpointProducerBuilder |
advanced() |
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
blockWhenFull(boolean blockWhenFull)
Whether a thread that sends messages to a full SEDA queue will block
until the queue's capacity is no longer exhausted.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
blockWhenFull(String blockWhenFull)
Whether a thread that sends messages to a full SEDA queue will block
until the queue's capacity is no longer exhausted.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
discardIfNoConsumers(boolean discardIfNoConsumers)
Whether the producer should discard the message (do not add the
message to the queue), when sending to a queue with no active
consumers.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
discardIfNoConsumers(String discardIfNoConsumers)
Whether the producer should discard the message (do not add the
message to the queue), when sending to a queue with no active
consumers.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
discardWhenFull(boolean discardWhenFull)
Whether a thread that sends messages to a full SEDA queue will be
discarded.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
discardWhenFull(String discardWhenFull)
Whether a thread that sends messages to a full SEDA queue will be
discarded.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
failIfNoConsumers(boolean failIfNoConsumers)
Whether the producer should fail by throwing an exception, when
sending to a queue with no active consumers.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
failIfNoConsumers(String failIfNoConsumers)
Whether the producer should fail by throwing an exception, when
sending to a queue with no active consumers.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
offerTimeout(long offerTimeout)
Offer timeout (in milliseconds) can be added to the block case when
queue is full.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
offerTimeout(String offerTimeout)
Offer timeout (in milliseconds) can be added to the block case when
queue is full.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
size(int size)
The maximum capacity of the SEDA queue (i.e., the number of messages
it can hold).
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
size(String size)
The maximum capacity of the SEDA queue (i.e., the number of messages
it can hold).
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
timeout(long timeout)
Timeout (in milliseconds) before a SEDA producer will stop waiting
for an asynchronous task to complete.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
timeout(String timeout)
Timeout (in milliseconds) before a SEDA producer will stop waiting
for an asynchronous task to complete.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
waitForTaskToComplete(String waitForTaskToComplete)
Option to specify whether the caller should wait for the async task
to complete or not before continuing.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
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 SedaEndpointBuilderFactory.AdvancedSedaEndpointProducerBuilder advanced()
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder size(int size)
size - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder size(String size)
size - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder blockWhenFull(boolean blockWhenFull)
blockWhenFull - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder blockWhenFull(String blockWhenFull)
blockWhenFull - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardIfNoConsumers(boolean discardIfNoConsumers)
discardIfNoConsumers - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardIfNoConsumers(String discardIfNoConsumers)
discardIfNoConsumers - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardWhenFull(boolean discardWhenFull)
discardWhenFull - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardWhenFull(String discardWhenFull)
discardWhenFull - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder failIfNoConsumers(boolean failIfNoConsumers)
failIfNoConsumers - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder failIfNoConsumers(String failIfNoConsumers)
failIfNoConsumers - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder offerTimeout(long offerTimeout)
offerTimeout - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder offerTimeout(String offerTimeout)
offerTimeout - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder timeout(long timeout)
timeout - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder timeout(String timeout)
timeout - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
waitForTaskToComplete - the value to setdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete)
waitForTaskToComplete - the value to setApache Camel