Fixed and works fine on equinox, so does in Karaf ,i think. Solution: 1.create a classloader ans set to Thread.currentThread().setContextClassLoader 2.@Override public Enumeration<URL> getResources(String name)throws IOException searching all resources from bundleContext but current classloader 3.@Override public Class<?> loadClass(String classname) throws ClassNotFoundException loading class from bundleContext but current classloader
-- View this message in context: http://camel.465427.n5.nabble.com/OSGI-Camel-new-ResourceXmlApplicationContext-But-tp5754620p5754707.html Sent from the Camel - Users mailing list archive at Nabble.com.
