You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luigi De Masi (Jira)" <ji...@apache.org> on 2019/11/04 21:32:00 UTC

[jira] [Created] (CAMEL-14137) Thread leak in camel-jetty component if maxThreads or minThreads property is set

Luigi De Masi created CAMEL-14137:
-------------------------------------

             Summary: Thread leak in camel-jetty component if maxThreads or minThreads property is set
                 Key: CAMEL-14137
                 URL: https://issues.apache.org/jira/browse/CAMEL-14137
             Project: Camel
          Issue Type: Bug
          Components: camel-jetty
            Reporter: Luigi De Masi


If a jetty component is configured as a bean with default thread pool settings, the thread pool get closed along with context.

If maxThreads,minThreads or both component properties are set, a new [QueuedThreadPool|https://www.eclipse.org/jetty/javadoc/current/org/eclipse/jetty/util/thread/QueuedThreadPool.html] is instantiated in JettyHttpComponent class  that  not get closed when the context is stopping.

 
 Attached a reproducer.[^camel-jetty-Tleak-reproducer.zip]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)