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] [Assigned] (CAMEL-9980) Allow to call OGNL on simple bodyAs function
Date Sun, 22 May 2016 07:52:12 GMT

     [ 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)

Mime
View raw message