camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mykola Pavluchynskyi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6341) DefaultShutdownStrategy shutdown timeout of 0 will never timeout and go in negative time
Date Tue, 06 Oct 2015 09:54:33 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944814#comment-14944814
] 

Mykola Pavluchynskyi commented on CAMEL-6341:
---------------------------------------------

Issue marked as fixed but I'm using 2.15.3 and still have this problem

12:48:59,864 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25754 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]
12:49:00,865 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25755 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]
12:49:01,865 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25756 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]
12:49:02,866 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25757 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]
12:49:03,866 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25758 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]
12:49:04,866 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25759 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]
12:49:05,867 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (interprocCamelContext)
thread #56904 - timer://InteractiveAppRetryProcessor) Waiting as there are still 1 inflight
and pending exchanges to complete, timeout in -25760 seconds. Inflights per route: [InteractiveProcessor_Retry_4
= 1]

When using hawtio it simply hangs when I try to view properties of Camel Contexts

I am using camel with activemq, but there are no inflight messages in activemq...


> 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
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.5, 2.11.1, 2.12.0
>
>         Attachments: shutdownStrategy8may2013.patch
>
>
> 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)

Mime
View raw message