You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/05/02 11:39:00 UTC

[jira] [Commented] (CAMEL-18029) camel-jbang - Uber Jar - Specify custom properties file to override what was packaged

    [ https://issues.apache.org/jira/browse/CAMEL-18029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530691#comment-17530691 ] 

Claus Ibsen commented on CAMEL-18029:
-------------------------------------

You can use -prop for a single property or -properties for a file

> camel-jbang - Uber Jar - Specify custom properties file to override what was packaged
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-18029
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18029
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.17.0
>
>
> When you build an uber jar
> camel package foo.jar
> then foo.jar comes with all included. However when you run
> java -jar foo.jar
> then you may want to make it easy to load a custom properties that can override, such as for a different runtime environment
> java -jar foo.jar qa-dev.properties



--
This message was sent by Atlassian Jira
(v8.20.7#820007)