Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Introduction Demo of Apache Camel (InfoQ article)

branch: master

all

latest commit f76d60e957
Kai Wähner authored February 21, 2012
Octocat-spinner-32 orders all February 21, 2012
Octocat-spinner-32 src all February 21, 2012
Octocat-spinner-32 target all February 21, 2012
Octocat-spinner-32 ReadMe.txt all February 21, 2012
Octocat-spinner-32 pom.xml all February 21, 2012
ReadMe.txt
Apache Camel Introduction Project
=================================

This is an Eclipse project. Nevertheless, it can be used via console, or imported into NetBeans / IntelliJ IDEA. 

Libraries are imported via Maven to ease dependency management. 
You should always use the newest version of Camel before starting (current version: 2.9.0).

Run the UnitTest (IntegrationTest.java). Put a breakpoint into the debugger and start playing around.
If you do not understand the message flow, uncomment ".tracing()" in the route to get more detailed information.
You can also start the main method of CamelStarter.java and copy the resources/real_order.csv file to the inbox directory
(within 30 seconds) to see how it is processed. 

This is only a very simple example for getting started. In practice, you would have to do some stuff differently, of course.
For instance: If you have got two dvd orders, the last one overrides the first one in the outbox/dvd folder at the moment.

Have fun with Apache Camel.

Best regards,
Kai Waehner
Twitter: @KaiWaehner
www.kai-waehner.de
Something went wrong with that request. Please try again.