Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4928

Async API support by the Timer component

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 2.12.0
    • camel-core
    • Patch Available
    • Unknown

    Description

      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.

      Sample
      from("timer:start")
          .threads(1, 5)
          .to("bean:very-long-operation");
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            szhemzhitsky Sergey Zhemzhitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment