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

PropertiesComponent: Add constructor that takes a locations array.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.5.0
    • camel-core
    • None
    • Patch Available

    Description

      It would be nice to be able to create a PropertiesComponent instance and at the same time specify the locations like this:

      context.addComponent("properties", new PropertiesComponent("classpath:org/apache/camel/component/properties/myproperties.properties"));

      Attachments

        1. PropertiesComponent.patch
          2 kB
          Daniel Bevenius

        Activity

          People

            davsclaus Claus Ibsen
            danielbevenius Daniel Bevenius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: