tree: 6eec48d117d398edd151448ac17f76eb3f41b1e4 [path history] [tgz]
  1. src/
  2. pom.xml

AWS S3 Example - CDI


This example illustrates the integration between Camel, CDI and AWS S3.

The camel-cdi and camel-aws-s3 components are used in this example..

Don't forget to add your bucket name and your credentials in the file before compiling. Actually AccessKey and SecretKey are equals to ‘XXXXXX’, while the bucketName in the route is named ‘bucketName’


You can build this example using:

$ mvn package


You can run this example using:

$ mvn camel:run

When the Camel application runs, you should the files from your bucket been downloaded and saved into target/s3out directory with their filename.

The Camel application can be stopped pressing ctrl+c in the shell.

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!