blob: fc3136b6a608020b88b9c3f5f845c252eee2232a [file] [log] [blame]
== Camel Example Main Endpoint DSL with AWS2 Eventbridge, SQS and S3 components
This example shows how to use the endpoint DSL in your Camel routes
to define endpoints using type safe fluent builders, which are Java methods
that are compiled.
This example is splitted in 3 submodules
- Eventbridge module: This module is responsible for creating a rule in Eventbridge
and targetting an SQS queue as target
- SQS Consumer: This module is responsibile for consuming the events coming into the queue
- S3 Events inject: This module will upload a file to a bucket and as first step it will autocreate a bucket
Notice how you can configure Camel in the `` file.
Don't forget to add your AWS Credentials on all the sub modules
=== How to run
You can run this example following these steps:
- In aws2-eventbridge-creator run
mvn camel:run
Once completed you can stop the route
- In aws2-sqs-consumer run
mvn camel:run
Leave the route running
- In aws2-s3-events-inject run
mvn camel:run
Once completed you can stop the route
In the aws2-sqs-consumer terminal you should see a createBucket event in the log.
=== Help and contributions
If you hit any problem using Camel or have some feedback, then please[let us know].
We also love contributors, so[get involved] :-)
The Camel riders!