You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/05/22 07:52:12 UTC
[jira] [Assigned] (CAMEL-9980) Allow to call OGNL on simple bodyAs
function
[ 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)