camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lixunhuanmarry <8673...@qq.com>
Subject OSGI, Camel, new ResourceXmlApplicationContext, But ...
Date Wed, 30 Jul 2014 07:32:59 GMT
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.

Mime
View raw message