You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/03/23 13:07:00 UTC
[jira] [Assigned] (CAMEL-21960) camel-jbang - Should camel run | export auto-detect application.properties and include the file always
[ https://issues.apache.org/jira/browse/CAMEL-21960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reassigned CAMEL-21960:
---------------------------------------
Assignee: Guillaume Nodet
> camel-jbang - Should camel run | export auto-detect application.properties and include the file always
> ------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-21960
> URL: https://issues.apache.org/jira/browse/CAMEL-21960
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 4.x
>
>
> If you use camel run foo.camel.yaml then its only this file that are included. However if you have application.properties file in the same folder, and want to include this then you need to use camel run foo.camel.yaml application.properties (or use camel run *).
> So the question is should we auto detect application.properties "magically" in camel-jbang and include this always. And then we need to do this for export and other commands as well.
> There is. the --profile option to choose another properties file, so you can have --profile=test and then have a application-test.properties file. So there is some logic we can use to say it should auto-detect application.properties and use it out of the box.
> If you do not want that, you can use camel run foo.camel.yaml --profile=false or something.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)