Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
When you want to set many headers, then a route can become cluttered with many setHeader EIPs.
This makes observability / tooling / monitoring harder as they track each indivudually.
For example to set 10 headers.
If we have an EIP that allows to set multiple headers at once
In Java the DSL can accept a Map
setHeaders(Map.of("xxx", "yyyy")
But we should allow to set via camel languages also
setHeaders("foo", simple("xxx"), "bar", jq("/xxx"), ...)
And in XML and YAML DSL then it should be possible to set via language as well.
Attachments
Issue Links
- causes
-
CAMEL-20131 camel-core - SetHeaders EIP some small things we can improve
- Resolved
-
CAMEL-20135 A newly added EIP doesn't appear in the website
- Resolved
- links to