Jean-Baptiste Onofré created KARAF-5378: -------------------------------------------
Summary: Stopping a bundle is not sync with Camel context state Key: KARAF-5378 URL: https://issues.apache.org/jira/browse/KARAF-5378 Project: Karaf Issue Type: Bug Components: karaf-feature Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Up to Karaf 3, when a bundle contained a route, doing a {{bundle:stop}} actually stopped the CamelContext and the bundle was in {{Resolved}} only when the graceful shutdown was completed. Now with Karaf 4, it seems that the bundle goes directly in {{Resolved}} state while the Camel Context is still shutting down (graceful): {code} tadmin@trun()> bundle:list |grep camel 531 | Resolved | 80 | 0.1.0.SNAPSHOT | camel-test 2017-09-15 10:37:09,847 | INFO | 3 - ShutdownTask | DefaultShutdownStrategy | 158 - org.apache.camel.camel-core - 2.16.3 | Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 268 seconds. Inflights per route: [camel-test = 1] {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)