[
https://issues.apache.org/jira/browse/CAMEL-14137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luigi De Masi updated CAMEL-14137:
----------------------------------
Description:
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]
was:
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]
> 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
> Priority: Major
> Attachments: camel-jetty-Tleak-reproducer.zip
>
>
> 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)