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