[ https://issues.apache.org/jira/browse/CAMEL-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-5285: ---------------------------------- Assignee: Claus Ibsen > trim() in SimpleLanguage.createExpression strips new-lines from expression > -------------------------------------------------------------------------- > > Key: CAMEL-5285 > URL: https://issues.apache.org/jira/browse/CAMEL-5285 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.9.2 > Environment: Spring DSL > Reporter: Ashwin Pejavar > Assignee: Claus Ibsen > > A newly added (since 2.8.3) expression.trim() in > SimpleLanguage.createExpression(String expression) strips new-lines from the > expression before evaluation. > I was using this feature to log exceptions to a status file in my camel > route. I built the status message using a simple expression and terminated > with in the spring-dsl route. With 2.9.2, the individual messages are > no longer delimited by new-line because of the added expression.trim(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira