Interface DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
DirectVmEndpointBuilderFactory.DirectVmEndpointBuilder
- Enclosing interface:
- DirectVmEndpointBuilderFactory
public static interface DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilderBuilder for endpoint producers for the Direct VM component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DirectVmEndpointBuilderFactory.AdvancedDirectVmEndpointProducerBuilderadvanced()default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilderblock(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.DirectVmEndpointProducerBuilderblock(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.DirectVmEndpointProducerBuilderfailIfNoConsumers(boolean failIfNoConsumers)Whether the producer should fail by throwing an exception, when sending to a Direct-VM endpoint with no active consumers.default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilderfailIfNoConsumers(String failIfNoConsumers)Whether the producer should fail by throwing an exception, when sending to a Direct-VM endpoint with no active consumers.default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuildertimeout(long timeout)The timeout value to use if block is enabled.default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuildertimeout(String timeout)The timeout value to use if block is enabled.
-
-
-
Method Detail
-
advanced
default DirectVmEndpointBuilderFactory.AdvancedDirectVmEndpointProducerBuilder advanced()
-
block
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. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
block- the value to set- Returns:
- the dsl builder
-
block
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. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
block- the value to set- Returns:
- the dsl builder
-
failIfNoConsumers
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. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
failIfNoConsumers- the value to set- Returns:
- the dsl builder
-
failIfNoConsumers
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. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
failIfNoConsumers- the value to set- Returns:
- the dsl builder
-
timeout
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder timeout(long timeout)
The timeout value to use if block is enabled. The option is a: <code>long</code> type. Default: 30000 Group: producer- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
timeout
default DirectVmEndpointBuilderFactory.DirectVmEndpointProducerBuilder timeout(String timeout)
The timeout value to use if block is enabled. The option will be converted to a <code>long</code> type. Default: 30000 Group: producer- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
-