Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 15071 invoked from network); 30 Apr 2007 15:59:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2007 15:59:14 -0000 Received: (qmail 95533 invoked by uid 500); 30 Apr 2007 15:59:20 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95515 invoked by uid 500); 30 Apr 2007 15:59:20 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 95506 invoked by uid 99); 30 Apr 2007 15:59:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 08:59:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 08:59:12 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HiYH6-0000xQ-Bx for users@activemq.apache.org; Mon, 30 Apr 2007 08:58:52 -0700 Message-ID: <10255927.post@talk.nabble.com> Date: Mon, 30 Apr 2007 08:58:52 -0700 (PDT) From: "dr.jeff" To: users@activemq.apache.org Subject: Re: [camel] using camel spring container In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jlansing@systechnologies.com References: <10237598.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org If I use the example at: http://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingCamelContextFactoryWithNamespacesTest.xml then I get this exception Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 26 in XML document from class path resource [test-spring.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'camelContext'. Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'camelContext'. because there is no schema document at http://activemq.apache.org/camel/schema/camel-1.0.xsd If I fix that and host the schema locally, then I get this exception: Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [camelContext] Offending resource: class path resource [test-spring.xml] at org.springframework.beans.factory.parsing.FailFastProblemReporter.fatal(FailFastProblemReporter.java:59) at org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:68) at org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:55) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.findParserForElement(NamespaceHandlerSupport.java:79) ... Is there perhaps something not checked in? James.Strachan wrote: > > BTW to try and avoid future confusion, I've added some Spring > documentation... > > http://cwiki.apache.org/CAMEL/spring.html > > -- > James > ------- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10255927 Sent from the ActiveMQ - User mailing list archive at Nabble.com.