Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5654CD65B for ; Tue, 24 Jul 2012 00:18:12 +0000 (UTC) Received: (qmail 97090 invoked by uid 500); 24 Jul 2012 00:18:12 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 96993 invoked by uid 500); 24 Jul 2012 00:18:11 -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 Received: (qmail 96984 invoked by uid 99); 24 Jul 2012 00:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 00:18:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matt.narrell@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 00:18:04 +0000 Received: by yenl1 with SMTP id l1so6980889yen.32 for ; Mon, 23 Jul 2012 17:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=PMHRdtRLN57f7L2lfm6KthIUnH3tvMBMwMYU6tGhlf0=; b=JHL4vrcLkC+VokLjm3dFRjZuzdzfrKcXfhMPRybjke7a4XWA5v7r19JcZykuUOfrG6 jyjQmxYksvIIjFn1SGKYV45SkBo263yBHN0BGUCjt+zqQ0dVKDJmmWfKv8Vbe57SatlF sRnOxqkzEQU1b6aXfwluNesuDWw48w1+TGrWubBPVZpU8ry005+xrzohKjWtcRfw/ZvS JvQZmz0Gf79BvuKbkaXswYNDKrPY6yTvmN/ldlUch7Qc8ugaAN2Oe1lB3UfSh4lmsHwy nbNXyjsXNrnUJOan4Gmm2tFhPSDrXTcUP7CcOooZGAJ9B07FzG1sS16Fp6GVGYPDrx5c WU6Q== Received: by 10.66.77.71 with SMTP id q7mr496643paw.0.1343089063003; Mon, 23 Jul 2012 17:17:43 -0700 (PDT) Received: from felix.mnarrell.org (ip24-253-66-87.lv.lv.cox.net. [24.253.66.87]) by mx.google.com with ESMTPS id pp2sm10936330pbb.1.2012.07.23.17.17.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2012 17:17:42 -0700 (PDT) From: Matt Narrell Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Global onException clause with RouteBuilders Date: Mon, 23 Jul 2012 17:16:59 -0700 Message-Id: <77CC8985-8A98-4A1A-9DB5-95C31D7CB38E@gmail.com> To: users@camel.apache.org Mime-Version: 1.0 (Apple Message framework v1280) X-Mailer: Apple Mail (2.1280) X-Virus-Checked: Checked by ClamAV on apache.org I have a set of Java DSL RouteBuilders with onException clauses at the = RouteBuilder level, and some per individual routes. These are bound to = the CamelContext via Spring DSL . Also in the = CamelContext is a "global" onException defined. =20 My global onException clause is never executed. Does the global clause = work with RouteBuilders in this way? If I move my global exceptions = into the RouteBuilder, they are caught and handled, but not at the = global level. -matt