On 9/21/10 12:06 PM, Bingliu wrote:

Hi,Willem
When i use camel in osgi, i import three camel's jar as plugin.
Include:camel-core.jar,camel-spring.jar,camel-spring-osgi.jar.
The exception does't offen appear.Sometime the runtime environment can start
succesful,but sometime it can't.
What is cause of the exception

You just need to include camel-core and camel-spring-osgi.
Please don't use the camel-spring jar as the camel-spring-osgi is the bundle which merge camel-spring and camel-osgi. If you put the camel-spirng and camel-spring-osgi together it will confuse Spring DM to load the right namespace handler.

In camel 2.4.0 we did some refactoring on camel osgi part and get ride of camel-spring-osgi and camel-osgi, so you just need to include camel-core and camel-spring bundles for your case.

Willem

Reply via email to