cunningt opened a new pull request, #23312: URL: https://github.com/apache/camel/pull/23312
## Summary Fixes bean lookup in route templates by checking the RouteTemplateContext's local bean repository before falling back to the global registry. Kamelets defining beans via the `beans:` section store them in a local bean repository scoped to the RouteTemplateContext. Previously, the AbstractReifier only checked EndpointHelper.resolveReferenceParameter and the global registry, causing `NoSuchBeanException` when route templates tried to reference their locally-defined beans. This fix adds a lookup step that checks the local bean repository (if present) before falling back to the global registry, allowing Kamelets to properly reference their own beans. ## Affected Components - Multiple Kamelets in the catalog: protobuf-deserialize-action, protobuf-serialize-action, avro-deserialize-action, avro-serialize-action, data-type-action ## Test Plan - [ ] Build passes with `mvn clean install` - [ ] Integration tests in camel-kamelets project (ProtobufIT) verify the fix 🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of Tom Cunningham -- 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]
