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 2022/08/03 10:24:00 UTC
[jira] [Created] (CAMEL-18342) camel-core-model - DSL for calling endpoint and set response to header
Claus Ibsen created CAMEL-18342:
-----------------------------------
Summary: 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
Fix For: 3.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)