apache / apache/camel-karavan

Camel 4.9 - Global data format configurations

Open
#1,450 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
594
Forks
215
Avg merge
5d 11h
Merged PRs (30d)
2

Description

### 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
```
- 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

### Variant

Both

### Container Management (if applicable)

None

### Operating System (for VS Code Extension)

None

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the referenced dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/DataFormatsTest.groovy and run the tiny unit test to understand the expected YAML shape. Trace the corresponding Camel Karavan YAML DSL handling; done means a top-level dataFormats array is supported like marshal and unmarshal for both variants.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, yaml
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.