davsclaus opened a new pull request, #24124: URL: https://github.com/apache/camel/pull/24124
## Summary - Remove `RouteBuilder` class definitions, `configure()` methods, and `context.addRoutes()` wrappers from 19 component documentation files, leaving just the route DSL - Replace all `.toF()` format string calls with property placeholders or inlined URIs (4 instances eliminated) - Simplify `new Processor()` anonymous classes to `bean` references where the processor was just logging or setting a response body - Net reduction of 269 lines of Java boilerplate This makes examples easier to translate to XML/YAML DSL tabs and more accessible for non-Java users. Components affected: grok, jt400, kubernetes-job, kubernetes-summary, ldap, lucene, netty, openapi-java, platform-http-vertx, pqc, ref, rss, sap-netweaver, shiro, thymeleaf, velocity, wasm, xmlsecurity, xslt-saxon. Intentionally skipped (complex class context needed): ehcache (aggregation strategy test), keycloak (5 full Java classes), kubernetes-job (generateJobSpec helper), metrics (Spring/CDI bean registration patterns). ## Test plan - [ ] Documentation-only change, no code changes - [ ] Route DSL examples remain valid Java syntax - [ ] Verify `.toF()` calls are fully eliminated from component docs _Claude Code on behalf of Claus Ibsen_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
