[
https://issues.apache.org/jira/browse/CAMEL-13694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-13694.
---------------------------------
Resolution: Fixed
> Easier way to extend PropertiesComponent
> ----------------------------------------
>
> Key: CAMEL-13694
> URL: https://issues.apache.org/jira/browse/CAMEL-13694
> Project: Camel
> Issue Type: Improvement
> Components: camel-properties
> Reporter: Luca Burgazzoli
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.0.0
>
>
> The current implementation of the PropertiesComponent is very oriented to
> paths and location and it is not very easy to provide alternative back-ends
> i.e MP Config or HashiCorp Vault.
> We may need to re-think the PropertiesComponent interface and reason in term
> of ordered "property sources", like:
> {code}
> ProertiesComponent cp = new ProertiesComponent()
> cp.addSource(new ValutPropertiesSource())
> cp.addSource(new PathPropertiesSource())
> cp.addSource(PropertiesSource.wrap(properties))
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)