Please try the latest Camel 2.8-SNAPSHOT.
The patch wasn't merged to Camel 2.7.x.

On 6/21/11 3:46 PM, Christian Schneider wrote:
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



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to