Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To convert a project into a bundle that you will be able to deploy into an OSGI server, a couple of things/steps must be done :

1) Declare the project in the maven pom.xml file as of type <packaging>bundle</packaging>,
2) Add the maven felix plugin who will generate the MANIFEST.MF file,
3) Identify the packages to be imported/exported and version,
4) Register Identify and register OSGI services when they are used by another bundle.

...

Code Block
    <Export-Package>
	org.apache.camel.example.reportincident,
     	'=META-INF.wsdl'
    </Export-Package>

Routing/Mediation service

The routing/mediation between services/bundles will be created using Spring DSL languageNow that we have transformed our current project in bundles, it is time to design the routing and web parts of the application.

...