...
First you need to Download a binary distribution.
Then To run the demos with maven, you need to download and install Apache Maven.
...
Code Block |
---|
camel-rider:/tmp/camel/examples$ mvn -v Maven version: 2.0.5 8 |
Since Camel 1.4, you can also run the examples with Ant. To do so, download and install Apache Ant.
Several of the examples depend on other projects which you will need to download to run with Ant. Refer to the individual example README.txt files for details.
Running the examples in Maven
...
Code Block |
---|
cd camel-example-spring
mvn camel:run
|
Running the examples in Ant
To run an example, change to the directory of the example you want to run,
set any environment variables mentioned in the README.txt, and then launch
ant:
on UNIX
Code Block |
---|
cd camel-example-spring
export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
ant
|
on Windows
Code Block |
---|
cd camel-example-spring
set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
ant
|
Running the examples in your IDE
...