Hi Willem,
that did not work for me. The bundle camel-core-osgi does not seem to
export the package org.apache.camel.core.osgi.
It is in Ignore-Packages.
Christian
Am 21.06.2011 09:39, schrieb Willem Jiang:
Hi Christian
You can create the OsgiDefaultCamelContext directly when you install
the camel-core-osgi bundle.
DefaultCamelContext camelContext = new OsgiDefaultCamelContext(context);
The CamelContextFactory is designed as a factory bean for spring to use.
Willem
--
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com