camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2546) Simple language - Add lightweight OGNL to invoke methods on objects
Date Sun, 14 Mar 2010 16:17:49 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58234#action_58234
] 

Claus Ibsen commented on CAMEL-2546:
------------------------------------

Added special {{last}} keyword to get the last value from a list.

trunk: 922885.

> Simple language - Add lightweight OGNL to invoke methods on objects
> -------------------------------------------------------------------
>
>                 Key: CAMEL-2546
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2546
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> Just a very lightweight alternative to using mvel, ognl etc.
> For example if you need to invoke getName() on a User object stored in the body of a
Camel Message.
> {code}
> simple("${body.getName}")
> {code}
> But we should support bean properties
> {code}
> simple("${body.name}")
> {code}
> And chained method calls
> {code}
> simple("${body.address.street}")
> simple("${body.address.zip}")
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message