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

Claus Ibsen reassigned CAMEL-27762:
-----------------------------------

    Assignee: Claus Ibsen

> camel-jbang - AI tools check kamelet: endpoints against the CLI's Kamelet 
> catalog, not the project's camel.jbang.kameletsVersion
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27762
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27762
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> _Claude Code on behalf of Claus Ibsen_
> A project that runs with a newer Kamelets release than the Camel CLI's 
> default sets it in {{application.properties}}:
> {noformat}
> camel.jbang.kameletsVersion=4.24.0
> {noformat}
> {{camel run}} then uses that catalog, but the AI tools of the Camel CLI (the 
> MCP server, {{camel ask}}, the TUI source editor) check {{kamelet:}} 
> endpoints against the catalog of the CLI's classpath. A Kamelet that only the 
> newer release has is reported as unknown, on every validate and every write:
> {noformat}
> kamelet:soap-source: no Kamelet named soap-source in the Kamelet catalog or 
> the project
> {noformat}
> The write still goes through, and the route runs. But an agent is told that a 
> correct route is wrong, and spends its steps chasing the error. Found with 
> the new SOAP Kamelets ({{soap-source}}, {{soap-action}}) of camel-kamelets 
> 4.24.0 while main runs the 4.23.0 catalog by default.
> The checks should read {{camel.jbang.kameletsVersion}} of the project 
> (application.properties, and the profile of {{camel run}}) as {{camel run}} 
> does, and look the Kamelets up in that catalog. When a Kamelet is still 
> unknown, the error should name the catalog version it was checked against.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to