Running Examples

This section walks you through running the examples which are shipped with a binary distribution.

Before you start

First you need to Download a binary distribution.

To run the demos with maven, you need to download and install Apache Maven.

To test your Maven install, change directory to the examples directory and type:

You should see something like:

Running the examples in Maven

To run the first example using Maven, change directory to the example you want to run then issue the following command:

To run the other Spring-based examples such as the Spring Example, use the Camel Maven Plugin. For example:

Running the examples in your IDE

In each example you can run the main() from your IDE.

To create an IDEA project, run

If you are an Eclipse user, run

You should now be able to open the project(s) in your IDE and run any main() method you wish.

© 2004-2014 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram