You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/10/11 17:58:40 UTC

[jira] Resolved: (CAMEL-3216) ScheduledPollConsumer should avoid runnable thread to die to ensure its kept being scheduled

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

Claus Ibsen resolved CAMEL-3216.
--------------------------------

    Resolution: Fixed

trunk: 1021396.

> ScheduledPollConsumer should avoid runnable thread to die to ensure its kept being scheduled
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3216
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3216
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> scheduled consumers such as file / ftp uses ScheduledPollConsumer to poll. If a throwable is thrown then the thread may die due it throws that to the JDK.
> We should avoid this and ensure to catch all exceptions, otherwise the thread may die, and the JDK will not re-schedule a new thread.
> This cause it to stop polling.
> See
> http://fusesource.com/forums/thread.jspa?threadID=2320&tstart=0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.