camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lixunhuanmarry <>
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:

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:
Sent from the Camel - Users mailing list archive at

View raw message