Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
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.

Code Block

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

Code Block

mvn idea:idea

If you are an IDEA user; or if you use eclipse user...

Code Block

mvn idea:idea

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