1 Reply Latest reply on Mar 4, 2015 11:56 AM by Abhishek Koneru

    How to load an OSGi Blueprint bundle at bootstrap?

    Maurizio Lippa Newbie

      Hi all,

      we are making our first experiences in deploying routes to a JBoss Fuse server.

      We have a OSGi jar file created from a blueprint project in Jboss Developer studio, and the route works as expected. But, when we stop the JBoss Fuse server (e.g. for maintenance purposes), the OSGi bundle is no longer available and we have to reinstall it manually.

      JBoss Fuse server is jboss-fuse-6.1.1.redhat-412

      the manifest:


      Manifest-Version: 1.0

      Bnd-LastModified: 1423471003553

      Build-Jdk: 1.7.0_76

      Built-By: mlippa

      Bundle-ManifestVersion: 2

      Bundle-Name: HL7 Proxy

      Bundle-SymbolicName: hl7proxy

      Bundle-Version: 0.9.9.alfa

      Created-By: Apache Maven Bundle Plugin

      DynamicImport-Package: org.apache.cxf.*,org.springframework.beans.*

      Export-Package: it.finmatica.ws.client;uses:="javax.xml.bind.annotation,



      Import-Package: javax.jws,javax.jws.soap,javax.transaction,javax.xml.bin



      Spring-Context: *;publish-context:=true;create-asynchronously:=true

      Tool: Bnd-1.50.0


      I googled a lot but didn't find how to tell the OSGi container that the bundle has to be loaded at bootstrap.

      We install it using osgi:install and start it using osgi:start

      Any help would be appreciated

      Thanks in advance