You need to create them as osgi camel context, and do a bunch of osgi initialization to make that work. Its not so easy to do but see in camel-core-osgi source code
On Wed, Dec 9, 2015 at 1:35 PM, rwijngaa <rino.van.wijngaar...@gmail.com> wrote: > Hi, > > I got 2 camel contexts defined in xml and a bunch of others i created > dynamically with: > CamelContext camelContext = new SpringCamelContext(applicationContext); > > The point is, when doing "camel:context-list" in the JBoss Fuse 6.2 console, > is only get to see the 2 (fixed) ones. In hawtio i see them all! > > How can i fix this? > > Regards > Rino > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Dynamically-created-CamelContext-not-visible-in-fuse-console-tp5774855.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2