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)