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/05/24 12:12:00 UTC
[jira] [Created] (CAMEL-18141) camel-endpoint-dsl - Generate fluent builders for endpoint headers
Claus Ibsen created CAMEL-18141:
-----------------------------------
Summary: camel-endpoint-dsl - Generate fluent builders for endpoint headers
Key: CAMEL-18141
URL: https://issues.apache.org/jira/browse/CAMEL-18141
Project: Camel
Issue Type: Improvement
Components: camel-endpointdsl, tooling
Reporter: Claus Ibsen
Fix For: 3.x
Now that every component has marked up the headers it supports, we can use that to generate fluent builders in camel-endpointdsl.
This makes it easier to use from this, as you do not need to have the camel-xxx JAR on the classpath and setup in your editor. And you dont need to remember the class name of the class having the headers etc.
from xxx
setHeader(file().fileName(), constant("foo.txt"))
setHeader(karaf().patititionKey(), constant("3"))
--
This message was sent by Atlassian Jira
(v8.20.7#820007)