Camel
  1. Camel
  2. CAMEL-2791

Properties component - Add option to let it look first/last for JVM system property

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: Future
    • Component/s: camel-core
    • Labels:
      None

      Description

      See nabble
      http://old.nabble.com/File-Consumer-directoryName-problem-ts28777347.html

      By default the properties component will only resolve properties from properties files.
      But sometimes you may want to be able to set a JVM system property with either override or is used as fallback in case of a key. Such as if a key is missing it can fallback to a JVM key. Or a JVM key can override an existing key in the properties file.

        Activity

        Claus Ibsen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]
        Ashwin Karpe made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Ashwin Karpe made changes -
        Attachment CAMEL-2791-Properties-fix.diff [ 19611 ]
        Ashwin Karpe made changes -
        Attachment CAMEL-2791-Properties-fix.diff [ 19612 ]
        Ashwin Karpe made changes -
        Attachment CAMEL-2791-Properties-fix.diff [ 19611 ]
        Ashwin Karpe made changes -
        Comment [ Hi Claus,

        Instead of an override or fallback, I was wondering whether we should introduce a "system:...". We already support "file:...", "ref:..." and use classpath search as a default.

        Can you let me know what you think...?

        Cheers,

        Ashwin... ]
        Ashwin Karpe made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Ashwin Karpe made changes -
        Field Original Value New Value
        Assignee Ashwin Karpe [ akarpe ]
        Claus Ibsen created issue -

          People

          • Assignee:
            Ashwin Karpe
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development