Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 91037 invoked from network); 20 Nov 2008 19:59:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2008 19:59:56 -0000 Received: (qmail 66779 invoked by uid 500); 20 Nov 2008 20:00:04 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 66707 invoked by uid 500); 20 Nov 2008 20:00:04 -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 66696 invoked by uid 99); 20 Nov 2008 20:00:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 12:00:04 -0800 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; Thu, 20 Nov 2008 19:58:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E4A4234C29E for ; Thu, 20 Nov 2008 11:59:05 -0800 (PST) Message-ID: <143217541.1227211145450.JavaMail.jira@brutus> Date: Thu, 20 Nov 2008 11:59:05 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1105) Spring DSL - redeliveryPolicy element should have ref attribute In-Reply-To: <618154150.1227165845721.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-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1105. -------------------------------- Resolution: Fixed > Spring DSL - redeliveryPolicy element should have ref attribute > --------------------------------------------------------------- > > Key: CAMEL-1105 > URL: https://issues.apache.org/activemq/browse/CAMEL-1105 > Project: Apache Camel > Issue Type: Improvement > Affects Versions: 1.5.0 > Reporter: Jason Royals > Assignee: Claus Ibsen > Fix For: 1.5.1, 2.0.0 > > > I'd like to be able to create reusable {{RedeliveryPolicy}}'s in Spring and refer to them in Camel's Spring DSL. This is to achieve two goals: > * I can use the Spring {{PropertyPlaceholderConfigurer}} to enable us to tune timeouts and redelivery in production - we cannot do that with Camel's Spring DSL; > * I can have several routes sharing the same {{RedeliveryPolicy}} (but possibly with different exceptions). > There doesn't seem to be a way to share {{RedeliveyPolicy}}'s between {{onException}} elements, meaning it needs to be duplicated (at least not that I could find in the docco) > For example, I'd like to do something like this: > {code} > > > > > > > > ExceptionA > > > > > > > > > ExceptionA > > > > > > > > > ExceptionB > > > > > > > {code} > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.