Running ExamplesThis section walks you through running the examples which are shipped with a binary distribution. Before you startFirst 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 exampleThere are a few different ways you can run the examples depending on your preferences. Running the examples in MavenIf you wish to use Maven to run the first example, change directory into the example you want to run then run the following command. cd camel-example-jms-file mvn exec:java To run the other Spring based examples such as the Spring Example then you use the Camel Maven Plugin. For example cd camel-example-spring mvn camel:run Running the examples in your IDEIn 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 |