You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mykola Pavluchynskyi (JIRA)" <ji...@apache.org> on 2015/10/06 22:37:27 UTC

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

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

Mykola Pavluchynskyi updated CAMEL-9196:
----------------------------------------
    Affects Version/s:     (was: 2.11.0)
                       2.15.3

> CLONE - DefaultShutdownStrategy shutdown timeout of 0 will never timeout and go in negative time
> ------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-9196
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9196
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.3
>            Reporter: Mykola Pavluchynskyi
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.5, 2.11.1, 2.12.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)