tree: ba9337b2ee555d4bff87f869bcfdd1317c9a94de [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
examples/camel-example-osgi/README.md

OSGi Example

Introduction

This example shows how use OSGi with Camel. It can be run using Maven.

Build

You will need to compile this example first:

mvn install

Run from cmd line outside OSGi container

To run the example using Maven type

mvn camel:run

To stop the example hit ctrl+c

Run inside OSGi container

You will need to compile and install this example first:

mvn install

If using Apache Karaf / Apache ServiceMix you can install this example from the shell using this example's “features.xml” for easy provisioning.

features:addUrl mvn:org.apache.camel/camel-example-osgi/${version}/xml/features
features:install camel-example-osgi

The example outputs to the log, which you can see using

log:display

... or you can tail the log with

log:tail

And use ctrl+c to break the tail.

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html

Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!