You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/29 06:39:19 UTC

[camel-examples] 03/03: AWS2-Eventbridge-example: Added Readme

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch skeleton-aws2-eventbridge
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit 243ae47707b11fb3584d3c142f1ce5a5b3b55ff2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 29 08:35:06 2020 +0200

    AWS2-Eventbridge-example: Added Readme
---
 .../readme.adoc                                    | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/examples/camel-example-main-endpointdsl-aws2/readme.adoc b/examples/camel-example-main-endpointdsl-aws2/readme.adoc
new file mode 100644
index 0000000..fc3136b
--- /dev/null
+++ b/examples/camel-example-main-endpointdsl-aws2/readme.adoc
@@ -0,0 +1,49 @@
+== 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 `application.properties` 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
+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!