to create ResourceXmlApplicationContext, because I directly generate a
camel-context.xml as a byteaaray.
get the error as below:
org.springframework.beans.factory.BeanDefinitionStoreException :Unrecognized
xbean namespace mapping: http://camel.apache.org/schema/spring.

I has drilled down the code ,found that, spring directly use the classloader
of ResourceXmlApplicationContext as the loader of schema.
So,found no CamelNamespaceHandler but create a new XBeanNamespaceHandler to
parse xml and faild.
How to solve this problem.

OSGI environment: equinox



--
View this message in context: 
http://camel.465427.n5.nabble.com/OSGI-Camel-new-ResourceXmlApplicationContext-But-tp5754620.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to