davsclaus opened a new pull request, #31209: URL: https://github.com/apache/camel/pull/31209
Part of [CAMEL-27980](https://issues.apache.org/jira/browse/CAMEL-27980), item 5. Many Camel Main options, catalog beans and Camel CLI configuration options had vague texts ("To enable Saga LRA", "Name of cache", "The data center", "Java version") or wrong ones. They now say what the option does, with its unit, default and accepted values, checked against the code and the library that reads the value. Texts that were already correct and clear are left as they were. | Area | Changed | |---|---| | camel-main core (camel.main, routecontroller, threadpool, startupcondition, health, errorRegistry) | 62 of 177 | | camel-main observability and resilience (debug, trace, metrics, opentelemetry, opentelemetry2, telemetryDev, faulttolerance, resilience4j, lra, mdc) | 76 of 127 | | camel-main server, management, ssl, security, rest | 71 of 157 | | camel-main vault | 58 of 88 | | repository beans (aggregation, idempotent, key-value) | 38 beans, 179 texts | | cluster services, route policies, aggregation strategies, header filter strategies | 18 beans, 121 texts + 45 `camel.cluster.*` options | | Camel CLI configuration (`camel.jbang.*`) | 43 of 54 | Some of the old texts were wrong, for example: - `camel.main.logDebugMaxChars=-1` leaves the body out; it does not mean unlimited. The default `streamCachingBufferSize` is 16384, not 4096. No profile is active by default. The `autoStartupExcludePattern` example `kafka,jms` matched nothing (now `kafka*,jms*`). - `camel.resilience4j.timeoutExecutorService` said `ForkJoinPool`, but Camel creates its own pool. - The Azure, GCP and IBM vault refresh is event driven: the period does not drive the detection. Hashicorp secrets are names, not patterns. - The Ehcache aggregation repository was described as Caffeine. The Kafka idempotent repository texts of `pollDurationMs` and `groupId` described behavior the code does not have. - The Consul cluster service does not use `datacenter` or `blockSeconds`. The Quartz route policy repeat counts are repeats after the first run, not a maximum. Where the texts live: - Camel Main: the setter Javadoc in `core/camel-main` and, for the rest and vault options, `core/camel-api` (`RestConfiguration`, `vault/*Configuration`), which the main generator reads. The fluent `withXxx` Javadoc is kept the same. - Beans: `@Metadata` on the bean classes in the components (and `core/camel-support`, `core/camel-core-processor`). - Camel CLI: `@Metadata` in `CamelJBangConstants`. The camel-main metadata, `main.adoc`, the bean JSON files, the Camel CLI metadata and the configuration doc table are regenerated, with their catalog copies. Every generated JSON diff changes description text only. Behavior bugs found while checking the options are not fixed here; they will be filed as JIRAs per component. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012nJsFsjqqFiwroeHRWaKbS -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
