Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E5C99C35 for ; Fri, 18 May 2012 21:41:32 +0000 (UTC) Received: (qmail 88027 invoked by uid 500); 18 May 2012 21:41:32 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 87992 invoked by uid 500); 18 May 2012 21:41:32 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 87983 invoked by uid 99); 18 May 2012 21:41:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 21:41:32 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 21:41:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6801AEDB8 for ; Fri, 18 May 2012 21:41:08 +0000 (UTC) Date: Fri, 18 May 2012 21:41:08 +0000 (UTC) From: =?utf-8?Q?Christian_M=C3=BCller_=28JIRA=29?= To: issues@camel.apache.org Message-ID: <1451902424.16494.1337377268427.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1209411276.8904.1337268368047.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (CAMEL-5283) JUnit @Test silently fails to run when there are missing component dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5283?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian M=C3=BCller closed CAMEL-5283. ----------------------------------- Resolution: Invalid =20 > JUnit @Test silently fails to run when there are missing component depend= encies > -------------------------------------------------------------------------= ------ > > Key: CAMEL-5283 > URL: https://issues.apache.org/jira/browse/CAMEL-5283 > Project: Camel > Issue Type: Bug > Reporter: Nestor Urquiza > > As discussed in http://camel.465427.n5.nabble.com/JUnit-Test-not-running-= when-using-http-endpoint-td5711142.html#a5711368 it looks like Camel fails = to report exceptions related to routes using components not present in the = classpath. > Test case: > --------- > Use this example http://camelinaction.googlecode.com/svn/trunk/chapter6/f= irsttest/src/test/java/camelinaction/FirstTest.java > A little change to the route (commented line below) is enough to stop the= testing method from running. =20 > @Override=20 > protected RouteBuilder createRouteBuilder() throws Exception {=20 > return new RouteBuilder() {=20 > @Override=20 > public void configure() throws Exception {=20 > =20 > from("file://target/inbox")=20 > .to("file://target/outbox")=20 > //.to("http://localhost:8088")=20 > ;=20 > =20 > }=20 > };=20 > }=20 > If camel-http is included then the method gets hit. Camel fails to report= any errors when camel-http is missing.=20 > I can confirm this is the case for other missing components as well like = camel-jackson. > Thanks! > -Nestor -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira