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.