Simple Language - Add bodyAs so you can convert the body to a given type
------------------------------------------------------------------------

                 Key: CAMEL-2522
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2522
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.2.0, 2.1.0, 2.0.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.3.0


For example to convert to String
{code}
<simple>Hello ${bodyAs(String)} how are you?</simple>
{code}

To ensure the body is converted to a String, for example if its a byte[] or 
stream, then you want the data to be converted to String in the expression.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to