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)
boolean type.
Default: true
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder block(String block)
boolean type.
Default: true
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder failIfNoConsumers(boolean failIfNoConsumers)
boolean type.
Default: false
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder failIfNoConsumers(String failIfNoConsumers)
boolean type.
Default: false
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder timeout(long timeout)
long type.
Default: 30000
Group: producerdefault DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder timeout(String timeout)
long type.
Default: 30000
Group: producerApache Camel