[ 
https://issues.apache.org/jira/browse/CAMEL-27980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154117#comment-18154117
 ] 

Claus Ibsen commented on CAMEL-27980:
-------------------------------------

Item 1 (API components): merged as https://github.com/apache/camel/pull/31273 
(701a57be883f). The descriptions file now wins over the SDK Javadoc; 1235 
descriptions in the 13 API components, the catalog has no empty API method or 
parameter description any more. Bugs found on the way: CAMEL-28063..CAMEL-28069.

_Claude Code on behalf of Claus Ibsen_

> Improve the catalog and docs data that AI tools read, beyond component 
> options (follow-up of CAMEL-23832)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27980
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27980
>             Project: Camel
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.25.0
>
>
> Follow-up of CAMEL-23832 (component option descriptions, done). The EIPs, 
> languages and data formats are documented, but other parts of the catalog and 
> the docs still give AI tools (and people) empty, vague or contradicting data. 
> A scan of the catalog and the docs on main (2026-12-01) found these 7 items.
> h3. 1. API-based components: 1,239 empty descriptions
> The API method and parameter descriptions are empty (457 methods, 782 
> parameters), although the components are marked done in 
> tasks/component-descriptions.md. The texts come from the API generator (the 
> SDK Javadoc), not from @UriParam, so CAMEL-23832 did not cover them.
> * zendesk 678, twilio 535, braintree 98
> * fhir 13, box 10, google-* about 26, dhis2 5, as2 3, olingo2 / olingo4 1 each
> h3. 2. YAML DSL schema and the YAML examples in the docs disagree
> Of the 2,546 YAML route snippets in the docs, 125 fail validation against 
> camelYamlDsl.json. Almost all are scalar types, not structure:
> * durations are typed string, so {{timeout: 5000}} and {{completionTimeout: 
> 2000}} are rejected
> * booleans written as {{'true'}}
> * numbers or booleans in {{constant}}, such as {{setHeader ... constant: 512}}
> They are in the EIP pages (aggregate, pollEnrich, multicast, loop, 
> failoverLoadBalancer, routingSlip), error-handler.adoc and about 40 component 
> docs. Decide which side to fix: let the schema accept these scalars (for 
> example a number for a duration), or move the docs to the canonical form.
> Three snippets do not parse: semantic-wolf-defender.adoc, 
> semantic-language.adoc, keycloak-consumer.adoc.
> h3. 3. Dev consoles: weak descriptions
> 51 of 90 consoles have a description of a few words ("Apache Kafka", "Groovy 
> Language", "Logging framework"), and their options and output properties are 
> similar ("The routes", "Command to execute"). AI agents read them through the 
> MCP camel_runtime_* tools and the TUI.
> h3. 4. Others: one-line descriptions
> 42 of 84 "other" entries have descriptions such as "Security using Shiro", 
> "Camel DataWeave support", "Camel Health Support". It is the only text a 
> model gets when it chooses a module such as camel-observability-services or 
> camel-kamelet-main.
> h3. 5. camel-main options, beans and Camel CLI configuration
> * camel-main (624 options): camel.main (46, older "Sets whether ..." Javadoc 
> style), camel.cluster (36), camel.vault (25), camel.rest (20)
> * beans (75): aggregation and idempotent repositories and cluster services 
> ("Name of cache", "The data center"). The cluster service texts also land in 
> the camel-main metadata.
> * camel-jbang-configuration-metadata.json (55): texts such as "Java version"
> h3. 6. Headers that components set but do not declare
> 77 non-deprecated components declare no headers. Most are fine (direct, seda, 
> log, mock), but some set headers that only the doc text mentions:
> * quartz: calendar, fireTime, jobRunTime, ...
> * snmp: peerAddress, securityName
> A scan per component is needed to find the rest.
> h3. 7. Smaller items
> * URI options in the docs that the catalog does not list (check whether some 
> are passed through on purpose): seda:queueFactory, jsonata:version, 
> jdbc:socketTimeout (sql and jdbc docs), olingo2:orderBy, amqp.traceFrames, 
> file:pollingConsumerQueueSize (polling-consumer page), salesforce:approval.*, 
> spring-ai-chat:systemMetadata.*
> * User manual prose (upgrade guides excluded) mentions old things: Camel K 
> (27 pages), "Camel 3." (12), Hystrix (2), camel-cdi (2), SimpleRegistry (2), 
> JndiRegistry (1), getOut() (1). Some are legitimate history, so each needs a 
> look.
> * Transformers application-octet-stream and text-plain have no description.
> ----
> _Filed by Claude Code on behalf of davsclaus_



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

Reply via email to