Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
DataFormat |
CamelContext.createDataFormat(String name)
Creates a new instance of the given data format given its name.
|
DataFormat |
CamelContext.resolveDataFormat(String name)
Resolve an existing data format, or creates a new by the given its name
|
Modifier and Type | Class and Description |
---|---|
static class |
DataFormatCustomizer.Builder<T extends DataFormat>
A fluent builder to create a
DataFormatCustomizer instance. |
Modifier and Type | Method and Description |
---|---|
static <T extends DataFormat> |
DataFormatCustomizer.builder(Class<T> type)
Create a typed
DataFormatCustomizer.Builder that can process a concrete data format type instance. |
static <T extends DataFormat> |
DataFormatCustomizer.forType(Class<T> type,
org.apache.camel.util.function.ThrowingConsumer<T,Exception> consumer)
Create a
DataFormatCustomizer that can process a concrete data format type instance. |
Modifier and Type | Method and Description |
---|---|
DataFormat |
ModelReifierFactory.createDataFormat(CamelContext camelContext,
Object dataFormatDefinition) |
DataFormat |
DataFormatResolver.createDataFormat(String name,
CamelContext context)
Creates the given data format given its name.
|
DataFormat |
DataFormatFactory.newInstance()
Creates a new DataFormat instance.
|
Modifier and Type | Method and Description |
---|---|
static DataFormatCustomizer.Builder<DataFormat> |
DataFormatCustomizer.builder()
Create a generic
DataFormatCustomizer.Builder . |
Modifier and Type | Method and Description |
---|---|
void |
DataFormatCustomizer.configure(String name,
DataFormat target)
Customize the specified
DataFormat . |
Object |
ManagementObjectStrategy.getManagedObjectForDataFormat(CamelContext context,
DataFormat dataFormat) |
ObjectName |
ManagementObjectNameStrategy.getObjectNameForDataFormat(CamelContext context,
DataFormat endpoint) |
default boolean |
DataFormatCustomizer.isEnabled(String name,
DataFormat target)
Checks whether this customizer should be applied to the given
DataFormat . |
default void |
LifecycleStrategy.onDataFormatCreated(String name,
DataFormat dataFormat)
Notification on
DataFormat being resolved from the Registry |
void |
RestBindingJaxbDataFormatFactory.setupJaxb(CamelContext camelContext,
RestConfiguration config,
String type,
Class<?> typeClass,
String outType,
Class<?> outTypeClass,
DataFormat jaxb,
DataFormat outJaxb)
Setup XML data format
|
Modifier and Type | Method and Description |
---|---|
DataFormatCustomizer.Builder<T> |
DataFormatCustomizer.Builder.withCondition(BiPredicate<String,DataFormat> condition) |
Apache Camel