camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sub3 <st...@subwest.com>
Subject Embedded Broker, Trying to Load Camel
Date Fri, 26 Aug 2011 19:38:01 GMT
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.

Mime
View raw message