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 2014/01/10 10:05:50 UTC

[jira] [Resolved] (CAMEL-7116) JettyHttpProducer.doStop does not stop client thread pool

     [ https://issues.apache.org/jira/browse/CAMEL-7116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-7116.
--------------------------------

    Resolution: Fixed

Thanks for reporting. We now stop the thread pool.

> JettyHttpProducer.doStop does not stop client thread pool
> ---------------------------------------------------------
>
>                 Key: CAMEL-7116
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7116
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 2.12.2
>         Environment: java7
>            Reporter: Mateusz Nowakowski
>            Assignee: Claus Ibsen
>             Fix For: 2.12.3, 2.13.0
>
>
> Case:
> CamelContext with one route :
> from("direct:a")
>  .routingSlip(generateHttpUrl())
> Where generateHttpUrl() returns  for example:
> "jetty:http://someurl.com:666/some?httpClientMinThreads=128&"
> When CamelContext is closing, JettyHttpProducer.doStop is not called.
> Result:
> -  When JettyHttpProducer.client is closing, its thread pool is not closed and the threads are non-deamon threads (subject to another JIRA),  so application cannot be shutdown.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)