[
https://issues.apache.org/jira/browse/CAMEL-20358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Netherton resolved CAMEL-20358.
-------------------------------------
Resolution: Fixed
> camel-microprofile-config: CamelMicroProfilePropertiesSource should consider
> active profiles when loading properties
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-20358
> URL: https://issues.apache.org/jira/browse/CAMEL-20358
> Project: Camel
> Issue Type: Improvement
> Components: camel-microprofile-config
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
> Fix For: 4.4.0
>
>
> CamelMicroProfilePropertiesSource loadProperties() gets the names of all
> available config properties and proceeds to try and resolve their values.
> There are some edge cases where if properties are prefixed with a profile
> qualifier (E.g %foo.some.property) , and that specific config profile is not
> active, then there can potentially be issues trying to resolve the config
> value.
> So it would probably be safer to filter out profile specific config if the
> relevant profile is not activated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)