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

Add option to newSingleThreadExecutor to allow thread pool to shrink to 0 in case task is not needed to run all the time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      Sometimes you want to use a async task to run some task, and for that the thread pools can be used.
      However there may not be a need for the thread pool to keep 1 thread in the pool. So we should allow the pool to shrink to 0.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: