You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/03/31 12:18:46 UTC

[GitHub] [camel-quarkus] davsclaus opened a new issue #2425: Turn on eager-classloading by default to optimize

davsclaus opened a new issue #2425:
URL: https://github.com/apache/camel-quarkus/issues/2425


   In camel-main there is a new option
   
   camel.main.eager-classloading = true
   
   We can be a bit smarter in camel-quarkus, and so some kind of build step, that triggers invoking this eager classloading inside camel-main. This helps to ensure those classes are loaded during build time instead of runtime at the first message processed by Camel.
   
   We need to ensure that this is triggered as part of quarkus and its built time phase so its triggered for both JVM vs native mode


-- 
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



[GitHub] [camel-quarkus] jamesnetherton commented on issue #2425: Turn on eager-classloading (Camel 3.10) by default to optimize

Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #2425:
URL: https://github.com/apache/camel-quarkus/issues/2425#issuecomment-986700166


   Can we not make `camel.main.eager-classloading = true` the default on the Camel side? Then there'd effectively be no work required in CQ given that the Camel Main bootstrapping is already done at build time.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] davsclaus commented on issue #2425: Turn on eager-classloading (Camel 3.10) by default to optimize

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #2425:
URL: https://github.com/apache/camel-quarkus/issues/2425#issuecomment-986737488


   Yeah its something that makes sense for camel-main based apps to have.
   
   There is more work needed in core to optimize for eager loading in some of the EIPs - Have not had the time to do that.
   Fell free to close this ticket.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org