You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/09/06 22:01:05 UTC

[GitHub] [camel-quarkus] lburgazzoli edited a comment on issue #191: Add an option to control context auto startup

lburgazzoli edited a comment 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 primary for discussion and needed to be:
   1. rebased on master
   2. 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:
users@infra.apache.org


With regards,
Apache Git Services