Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 328AF6AEF for ; Thu, 9 Jun 2011 16:26:22 +0000 (UTC) Received: (qmail 22564 invoked by uid 500); 9 Jun 2011 16:26:22 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 22527 invoked by uid 500); 9 Jun 2011 16:26:22 -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 22519 invoked by uid 99); 9 Jun 2011 16:26:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 16:26:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 16:26:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C626110A79E for ; Thu, 9 Jun 2011 16:25:58 +0000 (UTC) Date: Thu, 9 Jun 2011 16:25:58 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: dev@camel.apache.org Message-ID: <1119862593.7433.1307636758808.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1017578385.63379.1307035427376.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4041) Use a FatalErrorHandler for exceptions thrown while handling another exception. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046654#comment-13046654 ] Hadrian Zbarcea commented on CAMEL-4041: ---------------------------------------- I'd suggest fixing this in a few steps. First the core then spring and the rest (if anything else is affected). There's nothing worse than it is today if only the core is patched in a first step. That's why I created separate issues, and then with the duplicates we ended up with the confusion. So what if we use this issue only for the core and CAMEL-4022 for the spring side? > Use a FatalErrorHandler for exceptions thrown while handling another exception. > ------------------------------------------------------------------------------- > > Key: CAMEL-4041 > URL: https://issues.apache.org/jira/browse/CAMEL-4041 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.7.1 > Reporter: Hadrian Zbarcea > Assignee: Claus Ibsen > Fix For: 2.8.0 > > > This is spawn out of CAMEL-4022 (see part of the discussion there). > If exceptions are thrown while an exception is handled, there is not much Camel can do to recover. We need a FatalErrorHander that can not be replaced by the user, which a simple and predictable behavior (at least logging). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira