tree: c88c7800e7914d53a4e1e746986d437d479e1ad5 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
examples/camel-example-cafe/README.md

Cafe Example

Introduction

This example shows how to work with splitter and aggregator to implement a Cafe demo.

First It uses the splitter to dispatch the order, then sends the orders to barista by checking if the coffee is hot or cold. When the coffee is ready, we use a aggregate to gather the drinks for waiter to deliver.

Build

You will need to compile this example first:

mvn compile

Run

To run the example type

mvn camel:run

You can see the routing rules by looking at the java code in the src/main/java directory and the Spring XML configuration lives in src/main/resources/META-INF/spring

To stop the example hit ctrl+c

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html

Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!

The Camel riders!