Hello JB, I use Java DSL. I create multiple camel contexts with code like this:
*<Recieve the bundle context from iPOJO constructor...>** > **CamelContextFactory contextFactory = new CamelContextFactory(); > **contextFactory.setBundleContext(theBundleContext); > **CamelContext context = contextFactory.createContext();* The contexts and routes work perfectly well and I can also access them via JMX from JConsole but I cannot see them using the Karaf commands. /Bengt 2012/4/23 Jean-Baptiste Onofré <j...@nanthrax.net> > Hi Bengt, > > which DSL do you use ? > Do you use an "OSGi" complient camel context if you do it programmatically > ? > > Regards > JB > > > On 04/23/2012 10:27 AM, Bengt Rodehav wrote: > >> I'm using Camel 2.9.1 and Karaf 2.2.5. >> >> I have several Camel contexts and several routes running. Using JConsole I >> can see the contexts, routes and other JMX information. >> >> However, if I use the Camel commands from within the Karaf console I see >> nothing. E g the command "camel:context-list" shows nothing. >> >> Is this a bug or am I doing something wrong? >> >> /Bengt >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com >