You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2019/08/12 05:19:00 UTC
[jira] [Created] (CAMEL-13858) camel-properties: load properties
should iterate through loadable property source in reverse order
Luca Burgazzoli created CAMEL-13858:
---------------------------------------
Summary: camel-properties: load properties should iterate through loadable property source in reverse order
Key: CAMEL-13858
URL: https://issues.apache.org/jira/browse/CAMEL-13858
Project: Camel
Issue Type: Improvement
Components: camel-properties
Reporter: Luca Burgazzoli
Assignee: Luca Burgazzoli
Fix For: 3.0.0, 3.0.0.RC1
The current code iterate through LoadablePropertiesSource as follows:
{code:java}
for (PropertiesSource ps : sources) {
if (ps instanceof LoadablePropertiesSource) {
LoadablePropertiesSource lps = (LoadablePropertiesSource) ps;
Properties p = lps.loadProperties();
prop.putAll(p);
}
}
{code}
As sources is ordered by Order, lower priority sources may override higher ones.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)