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

Properties component - preparing loaded properties should only trim whitespace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.2
    • 2.10.3, 2.11.0
    • camel-core
    • None
    • Novice

    Description

      See nabble
      http://camel.465427.n5.nabble.com/Problem-with-pollEnrich-tp5722285.html

      If having a .properties file with
      foo.newline = \n\r

      eg where the value is \n\r then we should not trim that, but only the leading/ending whitespace noise.

      The trick is to only trim leading and ending whitespaces, and thread \r \n \t etc as content to preserve.

      Attachments

        Activity

          People

            bvahdat Babak Vahdat
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: