Claus Ibsen created CAMEL-6268:
----------------------------------

             Summary: camel-stream - Shutdown thread pool on consumer should 
happen faster
                 Key: CAMEL-6268
                 URL: https://issues.apache.org/jira/browse/CAMEL-6268
             Project: Camel
          Issue Type: Improvement
          Components: camel-stream
    Affects Versions: 2.11.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.11.1, 2.12.0


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...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to