Author: ningjiang
Date: Wed Jan 20 15:13:02 2010
New Revision: 901226
URL: http://svn.apache.org/viewvc?rev=901226&view=rev
Log:
CAMEL-2383 updated the README.txt
Modified:
camel/trunk/examples/camel-example-cafe/README.txt
Modified: camel/trunk/examples/camel-example-cafe/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cafe/README.txt?rev=901226&r1=901225&r2=901226&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cafe/README.txt (original)
+++ camel/trunk/examples/camel-example-cafe/README.txt Wed Jan 20 15:13:02 2010
@@ -1,30 +1,18 @@
-Spring Example
+Cafe Example
==============
-This example shows how to work with files and JMS, using Spring to boot up
-Camel and configure the routes. It can be run using Maven or Ant.
-
-The example consumes messages from a queue and writes them to the file
-system.
+This example shows how to work with splitter and aggregator to implement a
Cafe demo.
+It can be run using Maven or Ant.
You will need to compile this example first:
mvn compile
To run the example type
- mvn camel:run
+ mvn exec:java
To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ intall
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- c. To Run the example using Ant, type
+ To Run the example using Ant, type
ant
or to run the example and generate visualization graphs (refer to
http://camel.apache.org/visualisation.html), type
@@ -44,7 +32,7 @@
and log4j.properties is located in src/main/resources
For the latest & greatest documentation on how to use this example please see
- http://camel.apache.org/spring-example.html
+ http://camel.apache.org/cafe-example.html
If you hit any problems please talk to us on the Camel Forums
http://camel.apache.org/discussion-forums.html