You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/11/15 10:20:00 UTC
[jira] [Commented] (CAMEL-12007) camel-catalog-maven - Add stop
method to cleanup connections
[ https://issues.apache.org/jira/browse/CAMEL-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253225#comment-16253225 ]
Claus Ibsen commented on CAMEL-12007:
-------------------------------------
Its now Closeable
> camel-catalog-maven - Add stop method to cleanup connections
> ------------------------------------------------------------
>
> Key: CAMEL-12007
> URL: https://issues.apache.org/jira/browse/CAMEL-12007
> Project: Camel
> Issue Type: Improvement
> Components: camel-catalog
> Affects Versions: 2.20.1
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.20.2, 2.21.0
>
>
> Make it possible to cleanup the http connections that MultiThreadedHttpConnectionManager may leak.
> For example from testing camel-idea-plugin
> Failed tests:
> CamelProjectComponentTestIT>PlatformTestCase.v:640->ModuleTestCase.tearDown:79->IdeaTestCase.tearDown:49->PlatformTestCase.tearDown:517->PlatformTestCase.q:503 Thread leaked: Thread[MultiThreadedHttpConnectionManager cleanup,6,main]; WAITING (true)
> --- its stacktrace:
> at java.lang.Object.wait(Native Method)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
> at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(MultiThreadedHttpConnectionManager.java:1122)
> ---
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)