Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 53531 invoked from network); 3 Feb 2010 22:10:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 22:10:53 -0000 Received: (qmail 54317 invoked by uid 500); 3 Feb 2010 22:10:53 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 54270 invoked by uid 500); 3 Feb 2010 22:10:53 -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 54259 invoked by uid 500); 3 Feb 2010 22:10:53 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 54210 invoked by uid 99); 3 Feb 2010 22:10:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 22:10:53 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 22:10:53 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C835F29A0012 for ; Wed, 3 Feb 2010 14:10:32 -0800 (PST) Message-ID: <1923282067.10001265235032819.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 22:10:32 +0000 (UTC) From: "Stan Lewis (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-2445) BatchProcesser.processExchange needs to catch Throwable In-Reply-To: <1060178541.9901265234312554.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stan Lewis updated CAMEL-2445: ------------------------------ Attachment: patch-1.x.txt > BatchProcesser.processExchange needs to catch Throwable > ------------------------------------------------------- > > Key: CAMEL-2445 > URL: https://issues.apache.org/activemq/browse/CAMEL-2445 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 1.6.2 > Reporter: Stan Lewis > Assignee: Stan Lewis > Fix For: 1.6.3 > > Attachments: patch-1.x.txt > > > Have to test this on 2.x still. > If an aggregator sends an exchange to a processor that throws an Error this causes the thread started by BatchProcessor to exit, exchanges will then accumulate in the aggregator until an OutOfMemoryError occurs. > This patch sorts that out and adds a unit test, however there's another problem that I'm still looking into, namely that BatchProcessor just uses an instance of LoggingErrorHandler as it's exception handler, so any exceptions/errors caught by this processor will just get logged and not follow the normal Camel error handling. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.