Skip to main content

Bundle stop/start

The OSGi specification allows to install a bundle without starting it. To use this functionality, simply add the following attribute in your <bundle> definition

<feature name='my-project' version='1.0.0'>
   <feature version='2.4.0'>camel-spring</feature>
   <bundle start-level='80' start='false'>mvn:com.mycompany.myproject/   \\
      myproject-dao</bundle>    
   <bundle start-level='85' start='false'>mvn:com.mycompany.myproject/   \\
      myproject-service</bundle>
   <bundle start-level='85' start='false'>mvn:com.mycompany.myproject/   \\
      myproject-camel-routing</bundle>
</feature>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!