[
https://issues.apache.org/jira/browse/CAMEL-27979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27979.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/31205, merged to main as
78ffde7d178 for 4.25.0.
_Claude Code on behalf of davsclaus_
> camel-jbang - optionsFilter=<header name> answers with options that mention
> the header instead of the header
> ------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27979
> URL: https://issues.apache.org/jira/browse/CAMEL-27979
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.25.0
>
>
> camel_catalog_doc (Camel CLI and Camel MCP) searches the message headers of a
> component only when optionsFilter matches no option. Option descriptions now
> name headers (CAMEL-23832), for example keyName and deleteAfterRead of
> aws2-s3 mention CamelAwsS3Key, so optionsFilter=CamelAwsS3Key returns those
> two options and no longer the header, although headersHint says that
> optionsFilter=<header name> returns that header in full.
> CatalogLookupsTest and CatalogDocSeveralOptionsTest in camel-jbang-core fail
> on main since #31149.
> Fix: a single filter term that is the name of a message header of the
> component answers with that header; options that only mention it in their
> description are not counted as matches, and the note names them.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)