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/06/27 15:31:00 UTC

[jira] [Created] (CAMEL-13694) Easier way to extend PropertiesComponent

Luca Burgazzoli created CAMEL-13694:
---------------------------------------

             Summary: 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
             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)