You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mateusz Nowakowski (JIRA)" <ji...@apache.org> on 2014/01/09 12:33:51 UTC

[jira] [Updated] (CAMEL-7116) JettyHttpProducer.doStop not called during CamelContext shutdown

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

Mateusz Nowakowski updated CAMEL-7116:
--------------------------------------

    Description: 
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:
-  JettyHttpProducer.client is not closed, its thread pool threads are non-deamon threads (subject to another JIRA),  so application cannot be shutdown.




  was:
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:
- all JettyHttpProducer.client is not closed, its thread pool threads are non-deamon threads (subject to another JIRA),  so application cannot be shutdown.





> JettyHttpProducer.doStop not called during CamelContext shutdown
> ----------------------------------------------------------------
>
>                 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
>             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:
> -  JettyHttpProducer.client is not closed, its thread pool 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)