camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6862) DefaultTimeoutMap - Should use start/stop to schedule the task, and cancel the task
Date Mon, 14 Oct 2013 13:33:41 GMT

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

Claus Ibsen resolved CAMEL-6862.
--------------------------------

    Resolution: Fixed

> DefaultTimeoutMap - Should use start/stop to schedule the task, and cancel the task
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-6862
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6862
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.11.0, 2.12.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.3, 2.12.2, 2.13.0
>
>
> DefaultTimeoutMap schedules the task in constructor, we should do that in start instead.
And in stop we should cancel the task.
> Otherwise it can lead to situations where stopping the timeout cannot happen cleanly
> {code}
> 2013-10-14 13:53:25,287 | INFO  | sample.response] | DefaultExecutorServiceManager  
 | ?                                   ? | 134 - org.apache.camel.camel-core - 2.12.0.redhat-610054
| Waited 2.001 seconds for ExecutorService: org.apache.camel.util.concurrent.SizedScheduledExecutorService@b370e4f[JmsReplyManagerTimeoutChecker[queue.sample.response]]
to terminate...
> 2013-10-14 13:53:27,289 | INFO  | sample.response] | DefaultExecutorServiceManager  
 | ?                                   ? | 134 - org.apache.camel.camel-core - 2.12.0.redhat-610054
| Waited 4.003 seconds for ExecutorService: org.apache.camel.util.concurrent.SizedScheduledExecutorService@b370e4f[JmsReplyManagerTimeoutChecker[queue.sample.response]]
to terminate...
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message