You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sergey Zhemzhitsky (Updated) (JIRA)" <ji...@apache.org> on 2012/01/22 04:09:44 UTC

[jira] [Updated] (CAMEL-4928) Async API support by the Timer component

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

Sergey Zhemzhitsky updated CAMEL-4928:
--------------------------------------

    Attachment: CAMEL-4928.patch
    
> Async API support by the Timer component
> ----------------------------------------
>
>                 Key: CAMEL-4928
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4928
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Sergey Zhemzhitsky
>              Labels: timer
>         Attachments: CAMEL-4928.patch
>
>
> It would be great to have timer component support asynchronous API.
> Such a feature can be useful when timer component generates events which must be processed by multiple threads. 
> Current implementation of the timer component makes a blocking call so the usage of thread pools hardly possible to process multiple timer event simultaneously.
> {code:title=Sample}
> from("timer:start")
>     .threads(1, 5)
>     .to("bean:very-long-operation");
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira