blob: 87cf20ff6ab74d70c633b28b486c0c9a6330ad92 [file] [log] [blame]
== AWS S3 Example - CDI
=== Introduction
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
Application.java file before compiling. Actually AccessKey and SecretKey
are equals to `XXXXXX', while the bucketName in the route is named
`bucketName'
=== Build
You can build this example using:
[source,sh]
----
$ mvn package
----
=== Run
You can run this example using:
[source,sh]
----
$ 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.
=== Help and contributions
If you hit any problem using Camel or have some feedback, then please
https://camel.apache.org/support.html[let us know].
We also love contributors, so
https://camel.apache.org/contributing.html[get involved] :-)
The Camel riders!