davsclaus commented on PR #4359:
URL: https://github.com/apache/camel-quarkus/pull/4359#issuecomment-1372498183

   The .class is from https://issues.apache.org/jira/browse/CAMEL-18014 back at 
the time when camel-jbang and (indirectly also camel-k) could benefit from 
pre-loading java routes from .class that was compiled via java dsl (joor).
   
   However since we have less of that need as camel-jbang now exports to 
standard quarkus/SB and allow it to compile java dsl as regular java.
   
   The current Camel K however still has a limitation as all the DSL are 
runtime loaded and "compiled", also .java so there is a big cost to run java 
routes in camel-k as on startup. 
   
   Even if there is a special Camel Quarkus build-step then Camel K cannot 
benefit from that, as it bootup a "empty" Camel.
   
   I think we can remove the .class also in camel core for java-joor dsl as its 
not really needed anymore.
   


-- 
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-unsubscr...@camel.apache.org

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

Reply via email to