A simple example which sets up a camel route to upload files found in an inbox
directory to a box.com account.
First you will need to compile the example:
mvn install
To run the example on Apache Karaf 3.x or newer
Launch karaf
Add features required into Karak
feature:repo-add camel ${version} feature:install camel-spring-dm feature:install camel-box
Create a box.properties
file in the Karaf base directory with the following properties set to your box account credentials.
box.userName= box.userPassword= box.clientId= box.clientSecret=
Deploy the example into Karaf
install -s mvn:org.apache.camel/camel-example-box-osgi/${version}
Copy files to the inbox
directory in the Karaf base directory.
Watch them get transferred to your box.com account.
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!