You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2022/06/21 12:57:00 UTC
[jira] [Resolved] (CAMEL-18141) camel-endpoint-dsl - Generate fluent builders for endpoint headers
[ https://issues.apache.org/jira/browse/CAMEL-18141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Filotto resolved CAMEL-18141.
-------------------------------------
Resolution: Fixed
> 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
> Assignee: Nicolas Filotto
> Priority: Major
> Fix For: 3.18.0
>
>
> 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)