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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment