Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.2, 2.8.0
-
None
Description
The problem is that when you use @EndpointInject, @Produce, @Consume etc. on beans then Spring / Blueprint triggers the CamelBeanPostProcessor which inject those details into the bean. But this process happens very early, before CamelContext is being started.
And thus components/endpoints/etc is already been loaded/registered in registry.
But they cannot this early be enlisted in JMX, as CamelContext has not yet been enlisted. So we need to pre record those events, and then enlist them after CamelContext has been enlisted in JMX.