[
https://issues.apache.org/jira/browse/CAMEL-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204164#comment-17204164
]
Claus Ibsen commented on CAMEL-4169:
You can use 3rd party languages like groovy, or mvel (that is java) that is
more powerful.
But the simple parser has since this JIRA been rewritten and it can potentially
be improved to have more operators. But lets create a new JIRA ticket for this
and we can look at what the community asks for, to add in simple language.
> 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 was sent by Atlassian Jira
(v8.3.4#803005)