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

Async API support by the Timer component

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.12.0
    • Component/s: camel-core
    • Labels:
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: