You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/09/18 09:26:08 UTC

[jira] [Resolved] (CAMEL-4169) simple calculations in route

     [ https://issues.apache.org/jira/browse/CAMEL-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4169.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   2.9.0

Lets leave it at ++ and --. If there is a demand in the future for other math operators we can consider adding those.

> simple calculations in route
> ----------------------------
>
>                 Key: CAMEL-4169
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4169
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.7.2
>            Reporter: Marco Westermann
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> create calculation possibilities in simple language. For example to increment a header property: ${header.counter}++
> example:
> from("direct:getLastValueFromCache")
> .transform().simple("${header.lastProcessedOrder}++")
> .to("direct:createNewOrderWithNewProcessingNumber");

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira