-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any ideas on disabling property expansion in kamel run? #3422
Comments
Maybe you can leverage directly Camel properties features: https://camel.apache.org/components/3.17.x/properties-component.html#_using_system_and_environment_variables_in_locations |
@squakez If I use Camel properties, should I pass the properties via |
Also, how to pass multiple properties this way? Multiple |
You can both use a properties file or pass a list of properties. The
and
will produce the same output. |
yep, |
I was answering to:
the way to use multiple properties via trait is the one provided in the previous comment. |
yes, I have tried again and multiple -t camel.properties= is now OK. |
The use case is that I'm trying to log to different files in each pod on environment variable HOSTNAME. In application.properties :
Kamel does this expansion on
kamel run
and ${HOSTNAME} is resolved to my local machine rather than k8s pod name.Since Quarkus also provides property expression/expansion, could there be any method or thoughts to differentiate the two? e.g. changing prefix and postfix of "github.com/magiconair/properties" or add a switch to disable it?
Regards :)
The text was updated successfully, but these errors were encountered: