You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/08/21 10:06:57 UTC

[GitHub] [camel-quarkus] ppalaga commented on issue #54: camel application property routesUri is not overridden at runtime

ppalaga commented on issue #54: camel application property routesUri is not overridden at runtime
URL: https://github.com/apache/camel-quarkus/issues/54#issuecomment-523390901
 
 
   Moving `routesUris` from `BUILD_AND_RUN_TIME_FIXED` to `RUN_TIME` would make it impossible to do the build time materialization of the routes (because the RUNTIME config is simply not available at runtime). I do not think we want to do that. WDYT, @lburgazzoli?
   
   As an alternative, we could perhaps add runtime `routesUris` config option to the existing build time one. The new runtime option would have the semantics requested by @alainpham.
   
   As a workaround, we can recommend the technique used in the [core-cdi itest](https://github.com/apache/camel-quarkus/blob/master/integration-tests/core-cdi/src/main/java/org/apache/camel/quarkus/component/core/cdi/CamelApplication.java#L43). We use a path literal there, but you could make it dynamic by using a field annotated with something like `@ConfigProperty(name = "your.runtime.path")`

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


With regards,
Apache Git Services