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 9E3B0E71D for ; Fri, 7 Dec 2012 01:31:55 +0000 (UTC) Received: (qmail 50291 invoked by uid 500); 7 Dec 2012 01:31:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 50250 invoked by uid 500); 7 Dec 2012 01:31:55 -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 50242 invoked by uid 99); 7 Dec 2012 01:31:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 01:31:55 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.210.45 as permitted sender) Received: from [209.85.210.45] (HELO mail-da0-f45.google.com) (209.85.210.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 01:31:50 +0000 Received: by mail-da0-f45.google.com with SMTP id w4so2962151dam.32 for ; Thu, 06 Dec 2012 17:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition; bh=+sSrQnTcTkSdmaP4iCchvdOYRJxVhFzbCWdHPl/4XxM=; b=Ajf2tX6r5cirZpRruv7TMsBSCeR6gqwrrVfGyaMfGePUztbohA1HXIGgoic2u0OKKJ 9zV9ecLtOjbPRe4OdvZTtINcHBdSA+szqicAnsmp31tJ2Jg9nAud7h6cDDvYymjy676I kNoK16/dqTorLMbZQEQp9TXSegM7+UJO0zjn1xlYDNAGO7fcuRnNyzshgFVu2TmWLNLC g3n2Y7H26HfP5Lm41ppZ838es9oNqWG5Nf/rVnP/LbmGBH/BnShmDenQprywj5xqYCl3 9YOJdSGVevGSZ900Z1qoU3oVU3r2WY8u3OpfqK+ID7ltiq2Yz/fkjSPxhRBZmo2KAm+K hPKQ== Received: by 10.66.87.42 with SMTP id u10mr8605841paz.62.1354843890084; Thu, 06 Dec 2012 17:31:30 -0800 (PST) Received: from [192.168.1.135] ([125.34.10.43]) by mx.google.com with ESMTPS id d8sm5572870pax.23.2012.12.06.17.31.27 (version=SSLv3 cipher=OTHER); Thu, 06 Dec 2012 17:31:29 -0800 (PST) Date: Fri, 7 Dec 2012 09:31:23 +0800 From: Willem jiang To: users@camel.apache.org Message-ID: <7C3C639F5CCA4F92AFD20D7740C86379@gmail.com> In-Reply-To: <1354831280820-5723736.post@n5.nabble.com> References: <1354306278194-5723473.post@n5.nabble.com> <642F4B4D084A4627BAF07C18FF3EA282@gmail.com> <1354543136425-5723544.post@n5.nabble.com> <4FB2277C5FEB4A2B9811D93646C74CF7@gmail.com> <1354629588039-5723611.post@n5.nabble.com> <16AFCB1E41374FF0B94DCD6B432878CB@gmail.com> <1354629996119-5723616.post@n5.nabble.com> <1354829208969-5723732.post@n5.nabble.com> <1354831280820-5723736.post@n5.nabble.com> Subject: Re: Test Intercept with adviceWith and http X-Mailer: sparrow 1.6.4 (build 1176) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, After digging the code which you shows to me, I found the cause of your i= ssue. The http4 endpoint is created before the Http4Component is started, it is= cause the NPE to make the test failed. It's not a bug of CamelTestSupport. I will commit a quick fix for it toda= y. =20 -- =20 Willem Jiang Red Hat, Inc. =46useSource is now part of Red Hat Web: http://www.fusesource.com =7C http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) = (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang =20 Weibo: =E5=A7=9C=E5=AE=81willem On =46riday, December 7, 2012 at 6:01 AM, lleclerc wrote: > *edited last post=21 Think I found a bug=21 =20 > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/Test-In= tercept-with-adviceWith-and-http-tp5723473p5723736.html > Sent from the Camel - Users mailing list archive at Nabble.com (http://= Nabble.com).