You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luc Leclerc (JIRA)" <ji...@apache.org> on 2013/05/07 18:11:18 UTC

[jira] [Updated] (CAMEL-6341) DefaultShutdownStrategy shutdown timeout of 0 will never timeout and go in negative time

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

Luc Leclerc updated CAMEL-6341:
-------------------------------

    Description: 
A timeout of 0 won't timeout in the instant, the time will go negative. 

camelcontext.stopRoute(routeId, 0, TimeUnit.SECONDS, false); 

[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -1 seconds.
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -2 seconds.
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -3 seconds. 

Found a post related to it there : http://camel.465427.n5.nabble.com/Forcefully-shutting-down-routes-td5722447.html

  was:
A timeout of 0 won't timeout in the instant, the time will go negative. 

[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -1 seconds.
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -2 seconds.
[org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -3 seconds. 

Found a post related to it there : http://camel.465427.n5.nabble.com/Forcefully-shutting-down-routes-td5722447.html

    
> DefaultShutdownStrategy shutdown timeout of 0 will never timeout and go in negative time
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6341
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6341
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.11.0
>            Reporter: Luc Leclerc
>            Priority: Minor
>
> A timeout of 0 won't timeout in the instant, the time will go negative. 
> camelcontext.stopRoute(routeId, 0, TimeUnit.SECONDS, false); 
> [org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -1 seconds.
> [org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -2 seconds.
> [org.apache.camel.impl.DefaultShutdownStrategy] : Waiting as there are still 3 inflight and pending exchanges to complete, timeout in -3 seconds. 
> Found a post related to it there : http://camel.465427.n5.nabble.com/Forcefully-shutting-down-routes-td5722447.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira