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

Claus Ibsen reassigned CAMEL-25204:
-----------------------------------

    Assignee: Claus Ibsen

> camel-java-io - Java DSL parser resolves the header names of the endpoint DSL
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-25204
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25204
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> The endpoint DSL has typed header names: headers().file().fileName() is 
> "CamelFileName", headers().kafka().kafkaKey() is "CamelKafkaKey" 
> (EndpointRouteBuilder.headers()). The Java DSL parser (CAMEL-25148) cannot 
> read them, so a route setting such a header is partial.
> The method names are generated from the header names of the component (a 
> leading Camel dropped, then camel case), so a resolver with the Camel catalog 
> can find the header: the EndpointDslResolver plug gets a 
> headerName(component, method) lookup, which the catalog resolver of 
> camel-jbang answers from the component's endpoint headers.
> _Claude Code on behalf of davsclaus_



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

Reply via email to