tree: 0b588cb2c3ca616a57fd11d09353a01de375a96b [path history] [tgz]
  2. pom.xml
  3. src/

Camel Spring-DM Example


This example shows how use Spring DM (OSGi) with Camel. It can be run using Maven.


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.

feature:repo-add camel ${version}
feature:install camel
feature:repo-add mvn:org.apache.camel/camel-example-spring-dm/${version}/xml/features
feature:install camel-example-spring-dm

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


... or you can tail the log with


And use ctrl+c to break the tail.

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums

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