Describe the solution you'd like
Camel 4.9 now includes global data format configuration in the yaml DSL (similar to beans).
There is a new top level
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
Variant
Both
Container Management (if applicable)
None
Operating System (for VS Code Extension)
None
Describe the solution you'd like
Camel 4.9 now includes global data format configuration in the yaml DSL (similar to beans).
There is a new top level
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
Variant
Both
Container Management (if applicable)
None
Operating System (for VS Code Extension)
None