Interface DataFormatCustomizer

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 DataFormatCustomizer extends Ordered
Strategy for applying custom configuration to DataFormat instances as they are created.

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

See CamelContext auto-configuration in the Camel user manual.

See Also: