[ https://issues.apache.org/jira/browse/CAMEL-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058497#comment-13058497 ]
Richard Kettelerij commented on CAMEL-4169: ------------------------------------------- Marco, note that you can work around this limitation in the Simple Language by using one of the other languages supported in Camel. Like OGNL, MVEL and SpEL. I know the latter two support calculations. > 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 > Priority: Minor > Fix For: Future > > > 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