Claus Ibsen created CAMEL-5784:
----------------------------------

             Summary: Properties component - preparing loaded properties should 
only trim whitespace
                 Key: CAMEL-5784
                 URL: https://issues.apache.org/jira/browse/CAMEL-5784
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.11.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to