camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Please help check Camel 1.3.0 RC1
Date Wed, 16 Jan 2008 15:49:15 GMT
it looks like the META-INF/spring.schemas from the camel-cxf component
overwrites the one from camel-spring.


On 16/01/2008, James Strachan <james.strachan@gmail.com> wrote:
> Were you using the big "apache-camel-1.3.0.jar" on the classpath I
> wonder? Am thinking there could be times when the uber-jar is created
> by replacing, rather than concatenating the various files in
> META-INF/services/*
>
> On 16/01/2008, Aaron Crickenberger <aaron.crickenberger@intalgent.com> wrote:
> > Unit tests using Spring-based routes stopped working for me
> > (previously OK using 1.3-SNAPSHOT as of r605209).  I'm using camel-
> > core-1.3-SNAPSHOT-tests.jar and camel-spring-1.3-SNAPSHOT-tests.jar
> > out of trunk, in addition to apache-camel-1.3.0.jar.  I keep seeing
> > the following:
> >
> > org
> > springframework.beans.factory.parsing.BeanDefinitionParsingException:
> > Configuration problem: Unable to locate NamespaceHandler for namespace
> > [http://activemq.apache.org/camel/schema/spring]
> > Offending resource: class path resource [SimpleSpringTest.xml]
> >
> > --- SimpleSpringTest.xml ---
> > <?xml version="1.0" encoding="UTF-8"?>
> > <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > "
> >         xmlns:util="http://www.springframework.org/schema/util"
> >         xsi:schemaLocation="http://www.springframework.org/schema/beans
> >                                                  http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> >                                                  http://www.springframework.org/schema/util
> >                                                  http://www.springframework.org/schema/util/spring-util-2.0.xsd
> >                                                  http://activemq.apache.org/camel/schema/spring
> >                                                  http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
> > ">
> >
> >         <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring
> > ">
> >                 <route>
> >                         <from uri="direct:start" />
> >                         <to uri="mock:results" />
> >                 </route>
> >         </camelContext>
> >
> > </beans>
> >
> > --- SimpleSpringTest.java ---
> > public class SimpleSpringTest extends SpringTestSupport
> > {
> >      public void testSimpleSend() throws Exception
> >      {
> >          MockEndpoint mock = resolveMandatoryEndpoint("mock:results",
> > MockEndpoint.class);
> >          mock.setDefaulResultWaitMillis(1000);
> >          mock.expectedBodiesReceived("foo");
> >
> >          template.sendBody("direct:start", "foo");
> >          mock.assertIsSatisfied();
> >      }
> >
> >      @Override
> >      protected ClassPathXmlApplicationContext createApplicationContext()
> >      {
> >          return new ClassPathXmlApplicationContext(new String[]
> > { "SimpleSpringTest.xml" });
> >      }
> > }
> >
> > Am I missing something obvious?
> >
> > - aaron
> >
> > On Jan 16, 2008, at 9:47 AM, Hadrian Zbarcea wrote:
> >
> > > Hi,
> > >
> > > The first release candidate of camel 1.3.0 is finally out.  You can
> > > get the binary distributions here:
> > > http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
> > >
> > > maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
> > >
> > > Please check out this build and let me know if you see anything out
> > > of place.
> > >
> > > --
> > > Thanks,
> > > Hadrian
> >
> >
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message