tree: b060c1187e981b10a496a02adc721ab00c4c722d [path history] [tgz]
  2. pom.xml
  3. src/

Extract Transform Load (ETL) Example


This example shows how to use Camel as an ETL tool


You will need to compile this example first:

mvn compile


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

Build and Run inside OSGi container


You will need to compile and install this example first:

mvn install


If using Apache Karaf / Apache ServiceMix you can install this example from the shell using this example's “features.xml” for easy provisioning.

features:addUrl mvn:org.apache.camel/camel-example-etl/${version}/xml/features
features:install camel-example-etl

The example outputs logs into the console. When you‘re done just hit ctrl+d to exit the container. Next time you start the container again use the ‘clean’ option so that this example’s bundle gets removed and you don't see the logs anymore written into the console, e.g. in case of Karaf start it again using:

karaf clean


For a full description of this example please see

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums

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

The Camel riders!