Interface KameletEndpointBuilderFactory.AdvancedKameletEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,KameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder,KameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder
- Enclosing interface:
KameletEndpointBuilderFactory
public static interface KameletEndpointBuilderFactory.AdvancedKameletEndpointBuilder
extends KameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder, KameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder
Advanced builder for endpoint for the Kamelet component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()Location of the Kamelet to use which can be specified as a resource from file system, classpath etc.noErrorHandler(boolean noErrorHandler) Whether kamelets should use error handling or not.noErrorHandler(String noErrorHandler) Whether kamelets should use error handling or not.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.KameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePatternMethods inherited from interface org.apache.camel.builder.endpoint.dsl.KameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder
block, block, failIfNoConsumers, failIfNoConsumers, lazyStartProducer, lazyStartProducer, timeout, timeout
-
Method Details
-
basic
- Specified by:
basicin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder- Specified by:
basicin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder
-
location
Location of the Kamelet to use which can be specified as a resource from file system, classpath etc. The location cannot use wildcards, and must refer to a file including extension, for example file:/etc/foo-kamelet.xml. The option is a:java.lang.Stringtype. Group: advanced- Specified by:
locationin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder- Specified by:
locationin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder- Parameters:
location- the value to set- Returns:
- the dsl builder
-
noErrorHandler
default KameletEndpointBuilderFactory.AdvancedKameletEndpointBuilder noErrorHandler(boolean noErrorHandler) Whether kamelets should use error handling or not. By default, the Kamelet uses the same error handler as from the calling route. This means that if the calling route has error handling that performs retries, or routing to a dead letter channel, then the kamelet route will use this also. This can be turned off by setting this option to true. If off then the kamelet route is not using error handling, and any exception thrown will for source kamelets be logged by the consumer, and the sink/action kamelets will fail processing. The option is a:booleantype. Default: false Group: advanced- Specified by:
noErrorHandlerin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder- Specified by:
noErrorHandlerin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder- Parameters:
noErrorHandler- the value to set- Returns:
- the dsl builder
-
noErrorHandler
default KameletEndpointBuilderFactory.AdvancedKameletEndpointBuilder noErrorHandler(String noErrorHandler) Whether kamelets should use error handling or not. By default, the Kamelet uses the same error handler as from the calling route. This means that if the calling route has error handling that performs retries, or routing to a dead letter channel, then the kamelet route will use this also. This can be turned off by setting this option to true. If off then the kamelet route is not using error handling, and any exception thrown will for source kamelets be logged by the consumer, and the sink/action kamelets will fail processing. The option will be converted to abooleantype. Default: false Group: advanced- Specified by:
noErrorHandlerin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointConsumerBuilder- Specified by:
noErrorHandlerin interfaceKameletEndpointBuilderFactory.AdvancedKameletEndpointProducerBuilder- Parameters:
noErrorHandler- the value to set- Returns:
- the dsl builder
-