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

camel-stream - Shutdown thread pool on consumer should happen faster

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.11.0
    • 2.11.0
    • camel-stream
    • None
    • Unknown

    Description

      Should be faster to shutdown this pool as you may see WARN logs on stopping Camel

      [ Thread-1] DefaultShutdownStrategy INFO Starting to graceful shutdown 1 routes (timeout 300 seconds)
      el-1) thread #2 - ShutdownTask DefaultExecutorServiceManager INFO Waited 2.001 seconds for ExecutorService: org.apache.camel.util.concurrent.RejectableThreadPoolExecutor@48b4da9b[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0][stream://in?promptMessage=Enter+something%3A+] to terminate...
      el-1) thread #2 - ShutdownTask DefaultExecutorServiceManager INFO Waited 4.002 seconds for ExecutorService: org.apache.camel.util.concurrent.RejectableThreadPoolExecutor@48b4da9b[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0][stream://in?promptMessage=Enter+something%3A+] to terminate...

      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: