Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.6.0
-
None
-
Spring Boot
-
Unknown
Description
I'm referencing a custom model reifier factory in META-INF/services/org/apache/camel/model-reifier-factory which is causing DefaultInjector to be used instead of the expected SpringInjector.
SpringCamelContext creates the injector when loading a custom ModelReifierFactory. SpringInjector requires the application context, but since the application context hasn't yet been set on SpringCamelContext, the SpringInjector cannot be created so SpringCamelContext falls back to DefaultInjector. I've attached the call stack of this behaviour.
Attachments
Attachments
Issue Links
- links to