public static interface DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DirectVmEndpointBuilderFactory.AdvancedDirectVmEndpointProducerBuilder |
advanced() |
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
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 DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
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 DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
failIfNoConsumers(boolean failIfNoConsumers)
Whether the producer should fail by throwing an exception, when
sending to a Direct-VM endpoint with no active consumers.
|
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
failIfNoConsumers(String failIfNoConsumers)
Whether the producer should fail by throwing an exception, when
sending to a Direct-VM endpoint with no active consumers.
|
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
timeout(long timeout)
The timeout value to use if block is enabled.
|
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder |
timeout(String timeout)
The timeout value to use if block is enabled.
|
default DirectVmEndpointBuilderFactory.AdvancedDirectVmEndpointProducerBuilder advanced()
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder block(boolean block)
block - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder block(String block)
block - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder failIfNoConsumers(boolean failIfNoConsumers)
failIfNoConsumers - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder failIfNoConsumers(String failIfNoConsumers)
failIfNoConsumers - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder timeout(long timeout)
timeout - the value to setdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder timeout(String timeout)
timeout - the value to setApache Camel