lburgazzoli commented on issue #191: Add an option to control context auto 
startup
URL: https://github.com/apache/camel-quarkus/pull/191#issuecomment-529028666
 
 
   @gnodet 
   
   This PR is only for discussion and needed to be revised after we get #9 
implemented. 
   
   The goal here is to let the application control the camel context life-cycle 
as it seems there are some odd behavior when looking up beans from the ArC 
container if quarkus is not fully started.
   
   What I have observed is that
   
       RuntimeRegistry::findByType(Vertx.class) 
   
   Which under the hoods leverage the `BeanManager` from ArC, returns `null` 
when the camel context starts before Quarkus is fully started but returns a 
proper `Vertx` instance when the same method is invoked after Quarkus is fully 
started.
   
   This maybe need to be investigated more with @mkouba 
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to