squakez commented on issue #4126:
URL: https://github.com/apache/camel-k/issues/4126#issuecomment-1477715003

   I had a look at this issue and I think we have a problem when we use Quarkus 
Native and we have a reference to a static resource such as in this case. 
Basically, when we build a native image ahead of time, we assume that the 
source code used for the first build is the same in any Integration that is 
going to reuse the same kit. Basically we're no longer able to use dynamic 
loading of routes at runtime, as it happens for JVM mode. Designing the route 
not to depend on a specific resource path could be a solution for now.
   
   However, this is posing an interesting question about the feasibility for a 
native image to be reused in all circumstances.
   
   cc @essobedo @astefanutti  


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