The Spring OSGi sample shows how you can use Depot to configure and deploy a Spring application as an OSGi bundle.
To provision the Spring OSGi sample:
When adding an
application, add the artifact
depot-samples-spring-osgi-bundle
.
Configure your application by setting the following properties:
Save the application.
Start ServiceMix 4 and install the ServiceMix 4 agent (if you haven't already done so).
Edit the Default deployment profile and add the application to it.
Publish the Default deployoyment profile.
See how the Spring application is deployed to ServiceMix.