camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Pejavar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5285) trim() in SimpleLanguage.createExpression strips new-lines from expression
Date Fri, 18 May 2012 21:47:24 GMT
Ashwin Pejavar created CAMEL-5285:
-------------------------------------

             Summary: 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


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 &#10; 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

        

Mime
View raw message