public static interface DirectEndpointBuilderFactory.DirectEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DirectEndpointBuilderFactory.AdvancedDirectEndpointProducerBuilder |
advanced() |
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
block(boolean block)
If sending a message to a direct endpoint which has no active
consumer, then we can tell the producer to block and wait for the
consumer to become active.
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
block(String block)
If sending a message to a direct endpoint which has no active
consumer, then we can tell the producer to block and wait for the
consumer to become active.
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
failIfNoConsumers(boolean failIfNoConsumers)
Whether the producer should fail by throwing an exception, when
sending to a DIRECT endpoint with no active consumers.
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
failIfNoConsumers(String failIfNoConsumers)
Whether the producer should fail by throwing an exception, when
sending to a DIRECT endpoint with no active consumers.
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
timeout(long timeout)
The timeout value to use if block is enabled.
|
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder |
timeout(String timeout)
The timeout value to use if block is enabled.
|
default DirectEndpointBuilderFactory.AdvancedDirectEndpointProducerBuilder advanced()
default DirectEndpointBuilderFactory.DirectEndpointProducerBuilder block(boolean block)
block - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder block(String block)
block - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder failIfNoConsumers(boolean failIfNoConsumers)
failIfNoConsumers - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder failIfNoConsumers(String failIfNoConsumers)
failIfNoConsumers - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder timeout(long timeout)
timeout - the value to setdefault DirectEndpointBuilderFactory.DirectEndpointProducerBuilder timeout(String timeout)
timeout - the value to setApache Camel