Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
camel-rider:/tmp/camel/examples$ mvn -v
Maven version: 23.0.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.

3

Running the examples in Maven

...

Code Block
cd camel-example-spring
mvn camel:run

Running the examples in Ant

...

run

...

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

...