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 2025/08/04 14:36:00 UTC
[jira] [Commented] (CAMEL-22314) Configuration camel.main.fileConfigurations not taken into account
[ https://issues.apache.org/jira/browse/CAMEL-22314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18011898#comment-18011898 ]
Claus Ibsen commented on CAMEL-22314:
-------------------------------------
This is not intended to configure camel.main.xxx itself, but for additional configurations for other services such as custom key=values and what else.
> Configuration camel.main.fileConfigurations not taken into account
> ------------------------------------------------------------------
>
> Key: CAMEL-22314
> URL: https://issues.apache.org/jira/browse/CAMEL-22314
> Project: Camel
> Issue Type: Bug
> Components: camel-main
> Affects Versions: 4.10.5
> Reporter: Simon Hartl
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.14.0
>
>
> The configuration parameter {{camel.main.fileConfigurations}} is not taken into account and therefore not useable. With the parameter it should be possible to define additional property files which are loaded.
> Loading additional configuration files is triggered in the {{BaseMainSupport.java}} within the function {{autoconfigure(CamelContext):530}} by calling {{doInitFileConfigurations(...)}}.
> However when this function is called the option is not available yet within the {{ConfigurationProperties}} as it is set only later in the {{autoconfigure(CamelContext):565}} when calling {{autoConfigureMainConfiguration(...)}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)