[
https://issues.apache.org/jira/browse/CAMEL-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Babak Vahdat resolved CAMEL-5784.
---------------------------------
Resolution: Fixed
Backported the fix to the 2.10.x branch as well.
> 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
> Affects Versions: 2.10.2
> Reporter: Claus Ibsen
> Assignee: Babak Vahdat
> Priority: Minor
> Fix For: 2.10.3, 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