[
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)