Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 23804 invoked from network); 11 Oct 2010 15:26:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Oct 2010 15:26:04 -0000 Received: (qmail 64345 invoked by uid 500); 11 Oct 2010 15:26:04 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 64299 invoked by uid 500); 11 Oct 2010 15:26:04 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 64291 invoked by uid 500); 11 Oct 2010 15:26:04 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 64288 invoked by uid 99); 11 Oct 2010 15:26:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 15:26:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 15:26:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9BFPeZ9002241 for ; Mon, 11 Oct 2010 15:25:40 GMT Message-ID: <25540664.53231286810740409.JavaMail.jira@thor> Date: Mon, 11 Oct 2010 11:25:40 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-3216) ScheduledPollConsumer should avoid runnable thread to die to ensure its kept being scheduled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org 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.