You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2015/07/21 17:59:04 UTC

[jira] [Updated] (CAMEL-8983) Add random function to simple

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

Andrea Cosentino updated CAMEL-8983:
------------------------------------
    Fix Version/s: 2.16.0

> Add random function to simple
> -----------------------------
>
>                 Key: CAMEL-8983
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8983
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 2.16.0
>
>
> We be nice with a random function in simple so you can do random delays during processor or whatnot
> {code}
> ${random(10)}
> {code}
> To return a random value between 0 and 9.
> And to do with range
> {code}
> ${random(10,20)}
> {code}
> To select a random number between 10 and 19.
> We may ponder a bit about the upper bound should be inclusive or exclusive?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)