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

Simon Hartl updated CAMEL-22314:
--------------------------------
    Description: 
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(...)}}

  was:
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(...)}}


> 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
>            Priority: Major
>
> 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)

Reply via email to