camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5784) Properties component - preparing loaded properties should only trim whitespace
Date Fri, 09 Nov 2012 15:46:12 GMT
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

Mime
View raw message