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 07:11:00 UTC

[jira] [Created] (CAMEL-13859) came-properties: allow to filter properties by key when loading all

Luca Burgazzoli created CAMEL-13859:
---------------------------------------

             Summary: came-properties: allow to filter properties by key when loading all
                 Key: CAMEL-13859
                 URL: https://issues.apache.org/jira/browse/CAMEL-13859
             Project: Camel
          Issue Type: Improvement
          Components: came-properties, camel-core
            Reporter: Luca Burgazzoli
            Assignee: Luca Burgazzoli
             Fix For: 3.0.0, 3.0.0.RC1



The properties component has a method loadProperties() that collects properties from loading properties sources into a single Properties object and it would be nice to have a way to filter out properties by key to avoid sources backed by a remote service to perform any I/O keys that are not needed.

{code}
    PropertiesComponent pc = ...
    Properties props = pc.loadProperties(k -> k.startsWith("camel.component.seda"));
{code}




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)