You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/08/09 09:07:00 UTC

[jira] [Updated] (CAMEL-18342) camel-core-model - DSL for calling endpoint and set response to header

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

Claus Ibsen updated CAMEL-18342:
--------------------------------
    Fix Version/s: 4.x
                       (was: 3.x)

> camel-core-model - DSL for calling endpoint and set response to header
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-18342
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18342
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.x
>
>
> Either we add a special language for calling and endpoint, so you can use DSL today
> <setHeader name="foo">
>   <to uri="xxxx"/>
>  </setHeader 
> However the name cannot be to as its already taken as a normal EIP. 
> Or we could have a new EIP
> <toHeader name="foo" uri="xxx"/>
> And the dynamic variant
> <toDHeader name="foo" uri="xxx?a=${header.bar}"/>
> And we may need for exchange properties as well (that would mean 4 new EIPs in the model). 



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