jamesnetherton opened a new pull request, #9592:
URL: https://github.com/apache/camel-quarkus/pull/9592

   Follow-up to #9586, from the review comment there.
   
   Camel resolves several SPI types from the registry by type, not through 
injection. Nothing injects CDI beans that implement them, so ArC removed them 
and they silently had no effect. For example, a `ComponentCustomizer` bean was 
never applied.
   
   This adds the following to the bean types that `CamelBeansProcessor` marks 
as unremovable:
   
   - `ComponentCustomizer`, `DataFormatCustomizer`, `LanguageCustomizer` and 
their `Policy` filters
   - `StartupCondition`
   - `RouteTemplateParameterSource`
   - `OnCamelContextEvent`, which covers all of the `OnCamelContext*` lifecycle 
callbacks
   
   Tests:
   
   - `CamelSpiBeansUnremovableTest` in core deployment covers every type above.
   - `SpiBeansTest` / `SpiBeansIT` in `foundation/core` cover JVM and native 
mode. They check that a component customizer is applied, that a route is 
created from a template, and that context lifecycle callbacks fire. 
`foundation/core` now depends on `camel-quarkus-direct`.
   
   🤖 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]

Reply via email to