Re: Problem using camel in osgi

2010-05-24 Thread Willem Jiang
Yes, all the magic thing happens when the OsgiDefaultCamelContext gets the reference of BundleContext. There are CamelContextFactoryBean, CamelContextFactory in the camel-osgi module you may use if you want to create a CamelContext in a OSGi platform. Willem Christian Schneider wrote: Seems

Re: Problem using camel in osgi

2010-05-22 Thread Christian Schneider
Seems the OsgiDefaultCamelContext does the trick. I will take a look into the source to understand what it is doing. Greetings Christian Am 22.05.2010 16:55, schrieb Christian Schneider: Hi Guillaume, as I import by bundle not package I think that I should have all TypeConverters available.

Re: Problem using camel in osgi

2010-05-22 Thread Christian Schneider
Hi Guillaume, as I import by bundle not package I think that I should have all TypeConverters available. The problem seems to be that they are not registered. Do you know how the registration of converters works in camel when running in osgi? Greetings Christian Am 22.05.2010 16:26, schri

Re: Problem using camel in osgi

2010-05-22 Thread Guillaume Nodet
You may want to try using the osgi specific camel context instead, else you need to have all the components and converters available in your bundle classloader using imported package. On Saturday, May 22, 2010, Christian Schneider wrote: > Hi all, > > I am trying to get camel working in osgi. I w