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

Async API support by the Timer component

    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

        1. CAMEL-4928.patch
          5 kB
          Sergey Zhemzhitsky

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: