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

Claus Ibsen resolved CAMEL-23792.
---------------------------------
    Resolution: Fixed

> camel-endpointdsl - Build java constant classes with all the component header 
> keys
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-23792
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23792
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-endpointdsl
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.21.0
>
>
> The components has headers marked up in the xxxConstants.java source file, 
> but its a bit cumbersome to use - you need the java import, you need the JAR 
> on the classpath in the IDE and so on.
> When you use type-safe endpoint dsl we can generate a fluent builder for this 
> so you can do
> setHeader(headers().kafka().CAMEL_KAFKA_XXX, simple("xxx"))
> or make it a dot
> setHeader(headers().kafka.CAMEL_KAFKA_XXX, simple("xxx"))
>  



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

Reply via email to