You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tadayoshi Sato (Jira)" <ji...@apache.org> on 2025/03/26 07:51:00 UTC

[jira] [Assigned] (CAMEL-21896) camel-jbang - Allow configuration preset per directory

     [ https://issues.apache.org/jira/browse/CAMEL-21896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tadayoshi Sato reassigned CAMEL-21896:
--------------------------------------

    Assignee: Tadayoshi Sato

> camel-jbang - Allow configuration preset per directory
> ------------------------------------------------------
>
>                 Key: CAMEL-21896
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21896
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>    Affects Versions: 4.10.2
>            Reporter: Tadayoshi Sato
>            Assignee: Tadayoshi Sato
>            Priority: Major
>
> Camel CLI has {{camel config set}} command to preset parameters passed to {{camel run}} later:
> https://camel.apache.org/manual/camel-jbang.html#_configuration
> However, the preset config is saved at {{~/.camel-jbang-user.properties}} and only takes effect globally. Like common cli tools such as [direnv|https://github.com/direnv/direnv], it's desirable to configure the preset parameters per directory.
> We can simply achieve this by making the Camel CLI to first look at {{.camel-jbang-user.properties}} in the current directory and if found take precedence over {{~/.camel-jbang-user.properties}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)