Open davsclaus opened 1 month ago
Camel 4.9 now includes global data format configuration in the yaml DSL (similar to beans).
There is a new top level - dataFormats
- dataFormats
which is an array of DataFormatDefinition that are the same as in the DSL when using marshal and unmarshal.
DataFormatDefinition
See for example this tiny unit test https://github.com/apache/camel/blob/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/DataFormatsTest.groovy
Please describe the feature that you want to propose
Camel 4.9 now includes global data format configuration in the yaml DSL (similar to beans).
There is a new top level
- dataFormats
which is an array of
DataFormatDefinition
that are the same as in the DSL when using marshal and unmarshal.See for example this tiny unit test https://github.com/apache/camel/blob/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/DataFormatsTest.groovy