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)
offerTimeout (in milliseconds) can be added to the block case when
queue is full.
|
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder |
offerTimeout(String offerTimeout)
offerTimeout (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)
int type.
Default: 1000
Group: commondefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder size(String size)
int type.
Default: 1000
Group: commondefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder blockWhenFull(boolean blockWhenFull)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder blockWhenFull(String blockWhenFull)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardIfNoConsumers(boolean discardIfNoConsumers)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardIfNoConsumers(String discardIfNoConsumers)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardWhenFull(boolean discardWhenFull)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder discardWhenFull(String discardWhenFull)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder failIfNoConsumers(boolean failIfNoConsumers)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder failIfNoConsumers(String failIfNoConsumers)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder offerTimeout(long offerTimeout)
long type.
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder offerTimeout(String offerTimeout)
long type.
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder timeout(long timeout)
long type.
Default: 30000
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder timeout(String timeout)
long type.
Default: 30000
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete
type.
Default: IfReplyExpected
Group: producerdefault SedaEndpointBuilderFactory.SedaEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete type.
Default: IfReplyExpected
Group: producerApache Camel