[
https://issues.apache.org/jira/browse/CAMEL-25377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-25377.
---------------------------------
Resolution: Fixed
> camel-jbang - camel_catalog_doc nested options: the YAML key of an element,
> and the options of the error handler kinds
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-25377
> URL: https://issues.apache.org/jira/browse/CAMEL-25377
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.23.0
>
>
> Follow-up of CAMEL-25370 (PR https://github.com/apache/camel/pull/27421),
> from the review there.
> When optionsFilter matches none of an EIP's own options, camel_catalog_doc
> searches the options of the EIP's elements and lists them under nestedOptions
> with the element they go under. Two gaps remain:
> # The element is named by its catalog name, which is not always its YAML key:
> routeTemplate's templateParameter is written as parameters: in the YAML DSL.
> The YAML DSL schema knows the key; the catalog model does not.
> # errorHandler itself gets no nestedOptions: its options sit in the models of
> its kinds (deadLetterChannel, defaultErrorHandler, ...) behind
> errorHandlerType, whose model name is not the option name. Following the
> oneOf kinds of such an element would find them, so camel_catalog_doc
> errorHandler optionsFilter=deadLetterUri answers with the deadLetterChannel
> option.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)