Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDF55200BC5 for ; Tue, 22 Nov 2016 09:04:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC9CB160B0C; Tue, 22 Nov 2016 08:04:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 36C22160B0A for ; Tue, 22 Nov 2016 09:04:40 +0100 (CET) Received: (qmail 35179 invoked by uid 500); 22 Nov 2016 08:04:39 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 48531 invoked by uid 99); 22 Nov 2016 04:11:19 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Date: Mon, 21 Nov 2016 21:10:51 -0700 (MST) From: mayur_bm To: users@camel.apache.org Message-ID: <1479787851372-5790316.post@n5.nabble.com> Subject: Handling Exceptions not handled by the DeadLetterChannelBuilder MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 22 Nov 2016 08:04:41 -0000 Hi, i see that if component implements DefaultConsumer and its being run in the route & if it throws exception in application logic before an Exchange is created and we call the processor.process(exchange). its not being handled by the DeadLetterChannelBuilder ErrorHandlerRef which is defined in the CamelContext. what is the approach we have to take to handle the exceptions which are created before Exchange is created? ( mostly i see CamelRuntimeException) Regards, Mayur -- View this message in context: http://camel.465427.n5.nabble.com/Handling-Exceptions-not-handled-by-the-DeadLetterChannelBuilder-tp5790316.html Sent from the Camel - Users mailing list archive at Nabble.com.