Well it sounds a bit strange that the camel commands do not work. What version of Camel and Karaf do you run? I have 2.17.0 and 4.0.2 and that works and I have tried with two camel contexts in a bundle. Anyway stopping one shouldn't stop the other unless you have some other kind of dependency between them. What do you see in the logs when you stop the first? Does the Karaf logs show what is going on?
On Tue, Feb 21, 2017 at 6:37 PM, alexey-s [via Camel] < ml-node+s465427n5794206...@n5.nabble.com> wrote: > In the first OSGI bundle is multiple camel routes. > > Camel karaf command do not work > > camel:context-list > camel:component-list > camel:route-list > > I stop and will start component (OSGI bundle stop and start). > Fires once. After 5-6 seconds, I repeat. Again, it does not work. > > The first way should not affect the operation of the second. > Yes, the two components depend on the basic camel karaf features "camel". > > Direct VM componebt http://camel.apache.org/direct-vm.html > This endpoint can be used to connect existing routes in the same camel > context, as well from other camel contexts in the same JVM. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Stop-component-direct-vm- > from-another-OSGI-camelContext-tp5794194p5794206.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/Stop-component-direct-vm-from-another-OSGI-camelContext-tp5794194p5794216.html Sent from the Camel - Users mailing list archive at Nabble.com.