It could be an issue with the way you deploy your bundles. If you drop them in the deploy/ directory, and you happen to deploy libraries that fulfill optional imports elsewhere, the OSGi framework could force a refresh of the entire bundle set. Hence justifying the observed behaviour to some extent.
How exactly do you deploy your bundles? *Raúl Kripalani* Enterprise Architect, Open Source Integration specialist, Program Manager | Apache Camel Committer http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Thu, May 23, 2013 at 1:04 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > Not yet - I hasn't spent too much time on this and we postponed Camel > 2.11 upgrade right now. > I'll check debug log of camel and try to find the problem there. > > It seems I'm not alone on this :) > > http://camel.465427.n5.nabble.com/prevent-CamelContext-from-shutting-down-in-blueprint-td5733004.html > > On Fri, May 3, 2013 at 8:35 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > > Hi > > > > Did you figure out this problem? > > > > On Wed, May 1, 2013 at 1:42 PM, Martin Stiborský > > <martin.stibor...@gmail.com> wrote: > >> Hi guys, > >> I'm trying to upgrade Camel and Karaf in our project to newer version, > >> as the Camel 2.11 is out. > >> > >> Camel 2.10.1 -> 2.11 > >> Karaf 2.2.10 -> 2.3.1 > >> > >> There were needed few modifications. nothing serious, but Camel and > >> Karaf behaves a little bit weird - CamelContent is created and > >> immediatelly shut down and then created down and again and again… > >> I can't see anything wrong in log output. Sometimes it even start ok, > >> sometimes it needs few tries to start correctly, but it's weird. > >> I'm using Blueprint and some libraries, like camel-cxf, camel-ldap and > >> similar, so I know it's hard to find possible problem from such > >> description I provided here. > >> > >> Just if you spot something obvious or I missed something related to > upgrade.. > >> > >> -- > >> S pozdravem / Best regards > >> Martin Stiborský > >> > >> Jabber: st...@njs.netlab.cz > >> Twitter: http://www.twitter.com/stibi > > > > > > > > -- > > Claus Ibsen > > ----------------- > > Red Hat, Inc. > > FuseSource is now part of Red Hat > > Email: cib...@redhat.com > > Web: http://fusesource.com > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > > > -- > S pozdravem / Best regards > Martin Stiborský > > Jabber: st...@njs.netlab.cz > Twitter: http://www.twitter.com/stibi >