[
https://issues.apache.org/jira/browse/CAMEL-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-9980:
----------------------------------
Assignee: Claus Ibsen
> 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
> Assignee: 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)