Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 42625 invoked from network); 16 Dec 2008 15:25:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 15:25:28 -0000 Received: (qmail 97521 invoked by uid 500); 16 Dec 2008 15:25:41 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 97502 invoked by uid 500); 16 Dec 2008 15:25:41 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 97491 invoked by uid 99); 16 Dec 2008 15:25:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 07:25:41 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED 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; Tue, 16 Dec 2008 15:25:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A4D1234C3EA for ; Tue, 16 Dec 2008 07:25:05 -0800 (PST) Message-ID: <1666125209.1229441105499.JavaMail.jira@brutus> Date: Tue, 16 Dec 2008 07:25:05 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-1188) Exceptions thrown from when - methodCall are not caught by onException In-Reply-To: <1393690724.1229435585422.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-1188: ------------------------------- Description: See the route below. beanOne throws ExceptionOneException and beanTwo throws ExceptionTwoException. ExceptionOneException it caught and handled as it's supposed to. But ExceptionTwoException goes all the way through, without being caught and routed to the exceptionTwoQueue. Is it the when tag or the methodCall tag that is the cause of this? {code} my.project.queue.ExceptionOneException true my.project.queue.ExceptionTwoException true java.lang.Exception false {code} was: See the route below. beanOne throws ExceptionOneException and beanTwo throws ExceptionTwoException. ExceptionOneException it caught and handled as it's supposed to. But ExceptionTwoException goes all the way through, without being caught and routed to the exceptionTwoQueue. Is it the when tag or the methodCall tag that is the cause of this? my.project.queue.ExceptionOneException true my.project.queue.ExceptionTwoException true java.lang.Exception false > Exceptions thrown from when - methodCall are not caught by onException > ---------------------------------------------------------------------- > > Key: CAMEL-1188 > URL: https://issues.apache.org/activemq/browse/CAMEL-1188 > Project: Apache Camel > Issue Type: Bug > Components: camel-core, camel-spring > Affects Versions: 1.5.0 > Reporter: Rikard Eriksen > Assignee: Claus Ibsen > Fix For: 1.5.1, 2.0.0 > > > See the route below. beanOne throws ExceptionOneException and beanTwo throws ExceptionTwoException. ExceptionOneException it caught and handled as it's supposed to. But ExceptionTwoException goes all the way through, without being caught and routed to the exceptionTwoQueue. Is it the when tag or the methodCall tag that is the cause of this? > {code} > > > > > > > > my.project.queue.ExceptionOneException > > > true > > > > > my.project.queue.ExceptionTwoException > > > true > > > > > java.lang.Exception > > > false > > > > > > > > > > > > > > > > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.