squakez edited a comment on pull request #628:
URL: https://github.com/apache/camel-k-runtime/pull/628#issuecomment-778116320


   Unfortunately this patch cannot work for native images. As shown by the 
integration tests, when the integration are running in native mode we try to 
initialize the properties during augmentation phase. At that stage we don't 
have yet any system property or environment variables. I tried delaying the 
fetching at a later stage by checking the presence of those system properties. 
It results in a failure because Quarkus removes the class, marking it as not 
used (and producing a runtime error later). Probably does not make sense to go 
ahead until Quarkus team find a proper solution.


----------------------------------------------------------------
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:
[email protected]


Reply via email to