Hi all, Here my solution: I use ipojo, so i used the @Unbind annotation
@Unbind(specification = org.osgi.service.cm.ManagedServiceFactory.class, aggregate = true) public final void unbindBrokerService(final org.osgi.service.cm.ManagedServiceFactory managedServiceFactory) { logger.info(managedServiceFactory.getName() + " disapears."); isBrokerActive = false; } It's work, so thx to Christian an JB for theirs post. Regards -- View this message in context: http://karaf.922171.n3.nabble.com/ActiveMq-karaf-shutdown-tp4049950p4050032.html Sent from the Karaf - User mailing list archive at Nabble.com.