Interface LanguageCustomizer

All Superinterfaces:
Ordered
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LanguageCustomizer extends Ordered
Strategy for applying custom configuration to Language instances as they are created.

Customizers are discovered from the Registry and applied to each language during bootstrap, with isEnabled(String, Language) (and an optional LanguageCustomizer.Policy) deciding whether a given language is customized, and Ordered controlling the order. Use the builder() / forType(Class, ThrowingConsumer) helpers to target a concrete language type. This is the language-level counterpart to CamelContextCustomizer.

See CamelContext auto-configuration in the Camel user manual.

See Also: