OSGi Configuration

This is a simple OSGi bundle that prints out some configuration variables that you can set using Depot. It shows how applications running in the cloud can be configured centrally and how these configuration variables can be used.

To deploy and run the OSGi configuration sample:

  1. When adding an application, add the artifact depot-bundles-servicemix-proptest.

  2. Configure your application by assigning some values to the properties prop1, prop2, and prop3.

  3. Start ServiceMix 4 and install the ServiceMix 4 agent (if you haven't already done so).

  4. Edit the Default deployment profile and add the application to it. See how the properties are printed to the ServiceMix console.

  5. Edit the Default deployment profile to override the application's configuration properties.

  6. Publish the Default deployoyment profile again.

  7. See how the new property values are printed to the ServiceMix console.