gnodet commented on issue #247: CamelContext.getVersion() always returns an 
empty string
URL: https://github.com/apache/camel-quarkus/issues/247#issuecomment-540500976
 
 
   That may be have been before the donation actually. And it may be a 
regression.
   The version is extracted from the 
`/META-INF/maven/org.apache.camel/camel-core/pom.properties` resource and 
cached, so we need to either:
     * force the load at init time by calling `context.getVersion()` just after 
the context has been created
     * or include the needed time by providing a `SubstrateResourceBuildItem`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to