[ 
https://issues.apache.org/jira/browse/CAMEL-20056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karen Lease reassigned CAMEL-20056:
-----------------------------------

    Assignee: Karen Lease

> camel-core - SetHeaders EIP to set multiple headers in a single EIP
> -------------------------------------------------------------------
>
>                 Key: CAMEL-20056
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20056
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, eip
>            Reporter: Claus Ibsen
>            Assignee: Karen Lease
>            Priority: Major
>             Fix For: 4.x
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to