camel-issues 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-9980) Allow to call OGNL on simple bodyAs function
Date Sat, 21 May 2016 07:21:12 GMT
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)

Mime
View raw message