Did you try <import resource="*classpath:*camel.xml"/> --- Thank You…
Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (855) BASE-LOGIC: (227-3564-42) p. (478) BASE-LOGIC (227-3564-42) f. (855) BASE-LOGIC: (227-3564-42) Website: http://www.baselogic.com Blog: http://www.baselogic.com/blog/ Linked IN: http://linkedin.com/in/mickknutson Twitter: http://twitter.com/mickknutson --- On Fri, Aug 26, 2011 at 3:38 PM, sub3 <st...@subwest.com> wrote: > Hi, > > Anyone have an example of using an embedded broker w/Camel, w/its config > files within the same jar? I have > the ActiveMQ starting fine, just not w/Camel. > > So far, I made sure: > 1.) Made sure all of the namespaces point to camel.apache.org. > 2.) Pointed all the xsi:schemaLocations to the local version (not a url), > like > "http://camel.apache.org/schema/spring camel-spring.xsd" > 3.) Made sure they are in the jar file. > > ActiveMQ starts up fine, but as soon as I try the version with "<import > resource="camel.xml"/>" in the config file, I > still get the error: > org.springframework.beans.factory.BeanDefinitionStoreException: > Unrecognized > xbean namespace mapping: http://camel.apache.org/schema/spring > > > Any thought on what I am missing? > I am including my test directory (not sure if goes through the mail > server), > it has the pom.xml, 1 java file and the xsd, if interested. > > Thanks for any help. > > > http://camel.465427.n5.nabble.com/file/n4739257/embedded.zip embedded.zip > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Embedded-Broker-Trying-to-Load-Camel-tp4739257p4739257.html > Sent from the Camel - Users mailing list archive at Nabble.com. >