Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 47242 invoked from network); 26 Nov 2008 15:03:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 15:03:12 -0000 Received: (qmail 7626 invoked by uid 500); 26 Nov 2008 15:03:22 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 7607 invoked by uid 500); 26 Nov 2008 15:03:22 -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 7591 invoked by uid 99); 26 Nov 2008 15:03:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 07:03:22 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martin.lists@imap.cc designates 66.111.4.25 as permitted sender) Received: from [66.111.4.25] (HELO out1.smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 15:01:57 +0000 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id C208018E152 for ; Wed, 26 Nov 2008 09:59:34 -0500 (EST) Received: from web7.messagingengine.com ([10.202.2.216]) by compute1.internal (MEProxy); Wed, 26 Nov 2008 09:59:34 -0500 Received: by web7.messagingengine.com (Postfix, from userid 99) id 99B49286FF; Wed, 26 Nov 2008 09:59:34 -0500 (EST) Message-Id: <1227711574.18377.1286885941@webmail.messagingengine.com> X-Sasl-Enc: eSMqS6wbQPmz5faLuSUZtswsHz7wVfzI2Iz4Gaw+fLiU 1227711574 From: "Martin Gilday" To: camel-user@activemq.apache.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface Subject: onException for a particular route Date: Wed, 26 Nov 2008 14:59:34 +0000 X-Virus-Checked: Checked by ClamAV on apache.org Reading through the docs there is an explanation of how to use onException to set error handling for the global context. There is also instructions on how to set up an errorHandler for a particular route. Is it possible to set up onException handlers that only apply to an individual or subset of routes? deadLetterChannelBuilder has method named exceptionPolicyStrategy which may be what I am after. Could someone point me in the direction of a code snippet of how to use this? Thanks, Martin.