Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 2773 invoked from network); 3 Nov 2008 19:35:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 19:35:25 -0000 Received: (qmail 77094 invoked by uid 500); 3 Nov 2008 19:35:31 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 76961 invoked by uid 500); 3 Nov 2008 19:35:31 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 76950 invoked by uid 99); 3 Nov 2008 19:35:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 11:35:31 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 19:34:13 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kx5CQ-0004SL-8R for camel-user@activemq.apache.org; Mon, 03 Nov 2008 11:34:54 -0800 Message-ID: <20309146.post@talk.nabble.com> Date: Mon, 3 Nov 2008 11:34:54 -0800 (PST) From: 0xygen08 To: camel-user@activemq.apache.org Subject: RE: Camel 1.3 - how to overwrite redeliveryPolicy via Spring XML In-Reply-To: <4C1FB9C00D24A140906239533638C4D205CDB39E@EXVS04.exserver.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: gabiy2k8@yahoo.com References: <20274414.post@talk.nabble.com> <4C1FB9C00D24A140906239533638C4D205CDB39E@EXVS04.exserver.dk> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the quick response. onException doesn't seem to catch the exception. Am I missing something? I would like to reset the maximumRedeliveries on ANY exception for this route, so I've also tried to remove the filtering from the configuration as follows: =20 =09 =09 2 =09 =09 =20 but it does not work either. Thanks again for the input. --------------- Claus Ibsen wrote: >=20 > Hi >=20 > There have been some refinements in this in the later releases. But as I > recall it was because the max redelivery counter was off by one is some > situations. >=20 > Are you sure the onException catches your exception? You could try settin= g > a special destination so you are sure its using the onException. Eg that > it logs the exception with MySpecialLogger >=20 > =09 > =09 > =09 java.lang.Exception > =09=09 > =09 > =09 2 > =09 > > =09 =20 >=20 >=20 >=20 > Med venlig hilsen > =20 > Claus Ibsen > ...................................... > Silverbullet > Skovsg=C3=A5rdsv=C3=A6nget 21 > 8362 H=C3=B8rning > Tlf. +45 2962 7576 > Web: www.silverbullet.dk > -----Original Message----- > From: 0xygen08 [mailto:gabiy2k8@yahoo.com]=20 > Sent: 31. oktober 2008 22:38 > To: camel-user@activemq.apache.org > Subject: Camel 1.3 - how to overwrite redeliveryPolicy via Spring XML >=20 >=20 > Hi, > I am using Camel 1.3, and try to overwrite the default redeliveryPolicy o= n > one of the route. > I tried with the following spring configuration, and I didn't have proble= m > starting=20 > application, but the maximumRedeliveries was still using default value 5. >=20 > Is it possible to do that in Camel 1.3 (I can't upgrade to 1.4/1.5 just > yet)?=20 > Thanks, > -O >=20 > xmlns=3D"http://activemq.apache.org/camel/schema/spring"> > =20 > > > =09 > =09 > =09 java.lang.Exception > =09=09 > =09 > =09 2 > =09 > =09 =20 > =20 > > > =09 =20 > =20 > > --=20 > View this message in context: > http://www.nabble.com/Camel-1.3---how-to-overwrite-redeliveryPolicy-via-S= pring-XML-tp20274414s22882p20274414.html > Sent from the Camel - Users mailing list archive at Nabble.com. >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Camel-1.3---how-to-over= write-redeliveryPolicy-via-Spring-XML-tp20274414s22882p20309146.html Sent from the Camel - Users mailing list archive at Nabble.com.