camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Nowakowski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7116) JettyHttpProducer.doStop does not stop client thread pool
Date Thu, 09 Jan 2014 13:06:51 GMT

     [ 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:
-  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.




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





> 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
>             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)

Mime
View raw message