You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Simon Hartl (Jira)" <ji...@apache.org> on 2025/08/04 10:40:00 UTC

[jira] [Created] (CAMEL-22314) Configuration camel.main.fileConfigurations not taken into account

Simon Hartl created CAMEL-22314:
-----------------------------------

             Summary: 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


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)