Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 51955 invoked from network); 11 Oct 2009 15:58:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Oct 2009 15:58:25 -0000 Received: (qmail 30212 invoked by uid 500); 11 Oct 2009 15:58:25 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 30141 invoked by uid 500); 11 Oct 2009 15:58:25 -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 30131 invoked by uid 500); 11 Oct 2009 15:58:25 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 30128 invoked by uid 99); 11 Oct 2009 15:58:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 15:58:25 +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; Sun, 11 Oct 2009 15:58:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B007A234C045 for ; Sun, 11 Oct 2009 08:57:52 -0700 (PDT) Message-ID: <1165762208.1255276672712.JavaMail.jira@brutus> Date: Sun, 11 Oct 2009 08:57:52 -0700 (PDT) From: "Chris Purcell (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-2059) Creating a transacted pipeline with custom error handling is difficult 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 Creating a transacted pipeline with custom error handling is difficult ---------------------------------------------------------------------- Key: CAMEL-2059 URL: https://issues.apache.org/activemq/browse/CAMEL-2059 Project: Apache Camel Issue Type: Bug Components: camel-core Affects Versions: 2.0.0 Reporter: Chris Purcell Fix For: Future When trying to add error logging to a transacted pipeline, I discovered the following issues: (1) onException/onCompletion do not work in a transacted route (2) if the transacted tag is not the first element in the route, all the endpoints above it will be silently ignored (3) custom error handlers interact very awkwardly with transacted routes I was able to solve my problem using doTry/doCatch; this may be a good candidate for adding to the docs. I have attached a tgz of examples showing problems (1) and (2) above, as well as my successful route. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.