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 2026/09/30 19:25:00 UTC

[jira] [Created] (CAMEL-25204) camel-java-io - Java DSL parser resolves the header names of the endpoint DSL

Claus Ibsen created CAMEL-25204:
-----------------------------------

             Summary: 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


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)