Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13859

came-properties: allow to filter properties by key when loading all

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      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.

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

        Attachments

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              lb Luca Burgazzoli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: