DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
First you need to Download a binary distribution.
Then To run the demos with maven, you need to download and install Apache Maven.
To test your Maven install you should be able to , change directory into to the examples directory and type:
| Code Block |
|---|
mvn -v |
You should see something like:
| Code Block |
|---|
camel-rider:/tmp/camel/examples$ mvn -v Maven version: 2.0.5 3.0.3 |
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:
| Code Block |
|---|
mvn exec:java
|
To run the other Spring-based examples such as the Spring Example, use the Camel Maven Plugin. For example:
| Code Block |
|---|
cd camel-example-spring
mvn camel:run
|
Running the examples in your IDE
In each example you can run the main() from your IDE.
To create an IDEA project, run
| Code Block |
|---|
mvn idea:idea
|
If you are an Eclipse user, run
| Code Block |
|---|
mvn eclipse:eclipse
|
You should now be able to open the project(s) in your IDE and run any main() method you wish.