How to run Camel in a osgi container
Skip to end of metadata
Go to start of metadata

Run Camel With ServiceMix Kernel

Apache ServiceMix Kernel is a small OSGi based runtime which provides a lightweight container onto which various bundles can be deployed. Now you can deploy your route rule into it to leverage the power of OSGi.

Other guides

Icon

An example: to convert ServiceMix Kernel into an Apache Camel route container, we type these commands in the kernel's console to install the basic required bundles:

And these commands for the Camel related bundles:

This will get the bundles from a local or remote Maven repository, install and start them. Once this is done, you can just create a simple XML file containing the route definitions in the deploy and kernel's file monitor will install and deploy them. You can check the log file with the log d command to see the route in action.

See Also

Labels
  • No labels
  1. and if I wanted to use other routes (like iBatis) that require different files? How can I deploy the project to smx kernel?

  2. please correct "osgi install" with osgi/install"

    is it possibile to update the page for camel release 1.6.0?