Claus Ibsen created CAMEL-9980:
----------------------------------

             Summary: Allow to call OGNL on simple bodyAs function
                 Key: CAMEL-9980
                 URL: https://issues.apache.org/jira/browse/CAMEL-9980
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 2.18.0


It would be good to be able to do

{code}
bodyAs(String).toUpperCase()
mandatoryBodyAs(String).toUpperCase()
{code}

That will convert the body to a string type first and then invoke the ognl. You 
can use any type not only just String.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to