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

PollingConsumer from a scheduled consumer such as file/ftp can use a regular thread pool instead of being scheduled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • 2.12.0
    • camel-core
    • None
    • Unknown

    Description

      Due the recent SPI which allows to plugin a different scheduler we can improved this and use a non scheduled thread pool, which avoids the suspend/resume and run for at least one poll "hack" we have today in the codebase.

      Instead we can use a regular thread pool as the scheduler, and then submit the task on demand when receive() is called on the PollingConsumer API.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: