Either that or the OsgiCamelContext should be in an exported package.

Christian


Am 27.06.2011 22:51, schrieb Donald Whytock:
On Mon, Jun 27, 2011 at 4:38 PM, Christian Schneider
<[email protected]>  wrote:
Have you tried using the org.apache.camel.osgi.CamelContextFactory?
It is located in the camel-spring module. Honestly no idea why as it does
not have to do with spring.

cf = new CamelContextFactory();
cf.setBundleContext(context);
cf.createContext();
Can/should it be moved to camel-core-osgi?  Since this whole thread is
about using OSGi without Spring?

Don


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to