camel-dev 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-2522) Simple Language - Add bodyAs so you can convert the body to a given type
Date Thu, 04 Mar 2010 13:29:44 GMT
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.


Mime
View raw message