Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 33339 invoked from network); 15 Jun 2009 16:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 16:36:46 -0000 Received: (qmail 7546 invoked by uid 500); 15 Jun 2009 16:36:57 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 7511 invoked by uid 500); 15 Jun 2009 16:36:57 -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 7501 invoked by uid 500); 15 Jun 2009 16:36:57 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 7498 invoked by uid 99); 15 Jun 2009 16:36:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 16:36:57 +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; Mon, 15 Jun 2009 16:36:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 78528234C04B for ; Mon, 15 Jun 2009 09:36:35 -0700 (PDT) Message-ID: <1183960618.1245083795491.JavaMail.jira@brutus> Date: Mon, 15 Jun 2009 09:36:35 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1715) TransactionErrorHandler - Add support for redelivery In-Reply-To: <548272592.1245076775300.JavaMail.jira@brutus> 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 [ https://issues.apache.org/activemq/browse/CAMEL-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1715. -------------------------------- Resolution: Fixed Updated wiki as well > TransactionErrorHandler - Add support for redelivery > ---------------------------------------------------- > > Key: CAMEL-1715 > URL: https://issues.apache.org/activemq/browse/CAMEL-1715 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core, camel-spring > Affects Versions: 2.0-M2 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > TransactionErrorHandler is solely relying on the backing system handling redelivery et. all. > What we should allow as end users in the past have requested is to mix these two. So you can use TransactionErrorHandler and still leverage all the goodies we know from the dead letter channel to eg. do redelivery inside Camel. But at the end still signaling an exception to the TransactionErrorHandler if we still could not process it. > This allows you for instance to consume from a JMS queue, do some routing in Camel and allow Camel to do eg. local redelivery. For instance to upload some data to a FTP server still in the same transaction. > For example if you had prior some processing steps that was expensive to compute it could make sense to have local redelivery near the problem instead of rolling the entire exchange back and retry from zero. > And on top of that we leverage that all 3 major error handlers in Camel > - dead letter channel > - default error handler > - transactional error handler > All leverages on the same base class, the RedeliverErrorHandler, this allows us to reuse code. > The spring transactional error handler needs a few callback hooks from RedeliverErrorHandler to be able to run inside a spring TX template. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.