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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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.

        Activity

        Claus Ibsen created issue -
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Not A Problem [ 8 ]

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development