davsclaus opened a new pull request, #24468: URL: https://github.com/apache/camel/pull/24468
## Summary _Claude Code on behalf of Claus Ibsen_ Add declarative `camel.cluster.<type>.*` property support to camel-main/camel-jbang, matching Spring Boot's existing auto-configuration. - **Runtime support**: `BaseMainSupport` routes `camel.cluster.*` properties, groups by type sub-prefix (file, kubernetes, zookeeper, consul, jgroups-raft, infinispan), resolves the cluster service via FactoryFinder (`@JdkService` annotations), binds properties, and adds as CamelContext service - **Tooling metadata**: `PrepareCamelMainMojo` loads existing bean JSON metadata from component directories to generate 75 cluster configuration options in `camel-main-configuration-metadata.json` — enabling IDE auto-complete and validation - **Auto-download**: camel-jbang auto-downloads the correct component JAR when `camel.cluster.<type>` properties are detected (via both property prefix and FactoryFinder mappings) ### Example usage ```properties # application.properties camel.cluster.file.root = /tmp/cluster camel.cluster.file.acquireLockInterval = 5 camel.cluster.kubernetes.namespace = default camel.cluster.kubernetes.podName = my-pod ``` ## Test plan - [ ] Build `tooling/maven/camel-package-maven-plugin`, `core/camel-main`, verify `camel-main-configuration-metadata.json` contains `camel.cluster.*` groups and properties - [ ] Test with camel-jbang: create route with `camel.cluster.file.root=/tmp/cluster` in `application.properties`, verify `FileLockClusterService` starts - [ ] Verify auto-download: use `camel.cluster.zookeeper.nodes=...` without explicit dependency, confirm camel-zookeeper JAR is downloaded 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> -- 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]
