blob: 1378a9e6934bcac08d37106bc4459779392c5650 [file] [log] [blame]
Extract Transform Load (ETL) Example
====================================
This example shows how to use Camel as an ETL tool
http://camel.apache.org/etl.html
For a full description of this example please see
http://camel.apache.org/etl-example.html
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
Running 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
If you hit any 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!