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)
int type.
Default: 1000
Group: commondefault StubEndpointBuilderFactory.StubEndpointProducerBuilder size(String size)
int type.
Default: 1000
Group: commondefault StubEndpointBuilderFactory.StubEndpointProducerBuilder blockWhenFull(boolean blockWhenFull)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder blockWhenFull(String blockWhenFull)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder discardIfNoConsumers(boolean discardIfNoConsumers)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder discardIfNoConsumers(String discardIfNoConsumers)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder discardWhenFull(boolean discardWhenFull)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder discardWhenFull(String discardWhenFull)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder failIfNoConsumers(boolean failIfNoConsumers)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder failIfNoConsumers(String failIfNoConsumers)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder offerTimeout(long offerTimeout)
long type.
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder offerTimeout(String offerTimeout)
long type.
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder timeout(long timeout)
long type.
Default: 30000
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder timeout(String timeout)
long type.
Default: 30000
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete
type.
Default: IfReplyExpected
Group: producerdefault StubEndpointBuilderFactory.StubEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete)
org.apache.camel.WaitForTaskToComplete type.
Default: IfReplyExpected
Group: producerApache Camel