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 3B4CCD66A for ; Fri, 24 May 2013 15:48:24 +0000 (UTC) Received: (qmail 38179 invoked by uid 500); 24 May 2013 15:48:23 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 37820 invoked by uid 500); 24 May 2013 15:48:23 -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 37760 invoked by uid 99); 24 May 2013 15:48:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 15:48:21 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of winddancerjohn@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 15:48:07 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UfuDH-0002eV-9I for users@camel.apache.org; Fri, 24 May 2013 08:47:27 -0700 Date: Fri, 24 May 2013 08:47:27 -0700 (PDT) From: dancerjohn To: users@camel.apache.org Message-ID: <1369410447280-5733128.post@n5.nabble.com> In-Reply-To: References: <1369332920649-5733041.post@n5.nabble.com> <1369395104915-5733083.post@n5.nabble.com> Subject: Re: Why doesn't the stub component throw exceptions in tests MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ah, I see. It is the a-sync nature of stub that causes the difference. I will look into how I can use stub and still get the exception thrown from the produces (will look into receive). Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Why-doesn-t-the-stub-component-throw-exceptions-in-tests-tp5733041p5733128.html Sent from the Camel - Users mailing list archive at Nabble.com.