Package org.apache.camel.spi
Class ComponentCustomizer.Builder<T extends Component>
java.lang.Object
org.apache.camel.spi.ComponentCustomizer.Builder<T>
- Type Parameters:
T
- the concrete type of theComponent
.
- Enclosing interface:
- ComponentCustomizer
A fluent builder to create a
ComponentCustomizer
instance.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwithCondition
(BiPredicate<String, Component> condition) withOrder
(int order)
-
Constructor Details
-
Builder
-
-
Method Details
-
withOrder
-
withCondition
-
build
public ComponentCustomizer build(org.apache.camel.util.function.ThrowingConsumer<T, Exception> consumer) -
build
public ComponentCustomizer build(org.apache.camel.util.function.ThrowingBiConsumer<String, T, Exception> consumer)
-