Interface RestApiComponentBuilderFactory.RestApiComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.rest.RestApiComponent>
- All Known Implementing Classes:
RestApiComponentBuilderFactory.RestApiComponentBuilderImpl
- Enclosing interface:
- RestApiComponentBuilderFactory
public static interface RestApiComponentBuilderFactory.RestApiComponentBuilder extends ComponentBuilder<org.apache.camel.component.rest.RestApiComponent>
Builder for the REST API component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RestApiComponentBuilderFactory.RestApiComponentBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default RestApiComponentBuilderFactory.RestApiComponentBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
bridgeErrorHandler
default RestApiComponentBuilderFactory.RestApiComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
basicPropertyBinding
default RestApiComponentBuilderFactory.RestApiComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:boolean
type. Default: false Group: advanced
-
-