[
https://issues.apache.org/jira/browse/CAMEL-24858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-24858.
---------------------------------
Fix Version/s: 4.23.0
Resolution: Fixed
> camel-jbang - the validator reports a required endpoint path option that is
> missing (uri: cron without name)
> ------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-24858
> URL: https://issues.apache.org/jira/browse/CAMEL-24858
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.23.0
>
>
> Found by the stepwise half of the round-2 local-model benchmark (ten
> camel-jbang-examples built step by step through the camel-jbang-mcp server,
> five runs each, 2026-09-21).
> {code:yaml}
> - route:
> from:
> uri: cron
> parameters:
> schedule: 0/10 * * * * ?
> {code}
> has no {{name}}, the required path option of the cron endpoint
> ({{cron:name}}). {{camel validate source}} and {{camel validate yaml}} both
> say Validation success (verified); {{camel run}} fails with "Option name is
> required when creating endpoint uri with syntax cron:name", and in dev mode
> the reload fails with a WARN in the log. The catalog knows the required
> options of every endpoint; the endpoint checks should report a required path
> option that is neither in the uri nor in parameters, with the syntax to write
> ({{uri: cron:report}} or {{name: report}} under parameters).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)