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.
Then you need to download and install Apache Maven.
To test your Maven install you should be able to change directory into the examples directory and type
mvn -v
You should see something like
camel-rider:/tmp/camel/examples$ mvn -v Maven version: 2.0.5
Running an example
There are a few different ways you can run the examples depending on your preferences.
Running the examples in Maven
If you wish to use Maven to run the examples, change directory into the example you want to run then run the following command.
cd camel-example-jms-file mvn exec:java
Running the examples in your IDE
In each example you can run the main() from your IDE if you prefer. To get an IDE project you may wish to run
mvn idea:idea
If you are an IDEA user; or if you use eclipse user...
mvn idea:idea
You should now be able to open the project(s) in your IDE and run any main() method you wish