[
https://issues.apache.org/jira/browse/CAMEL-8630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493619#comment-14493619
]
Claus Ibsen commented on CAMEL-8630:
------------------------------------
You can use the bean function for that - something a long the lines of
"${bean:java.lang.System?method=currentTimeMillis}". But its really not in the
scope of simple to do this. If you want to add two long values then use groovy
/ javascript or some other programming language.
> Allow simple language to call static methods.
> ---------------------------------------------
>
> Key: CAMEL-8630
> URL: https://issues.apache.org/jira/browse/CAMEL-8630
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.15.1
> Reporter: Aaron Whiteside
> Priority: Minor
>
> Allow simple language to call static methods.
> For example:
> {code:java}
> simple("System.currentTimeMillis() + ${header['OFFSET']}");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)