This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new c3820f3 CAMEL-13013 - A bit more docs
c3820f3 is described below
commit c3820f330d65b8443582586d41099e3822a36ad1
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Dec 21 13:18:36 2018 +0100
CAMEL-13013 - A bit more docs
---
components/camel-aws/src/main/docs/aws-sns-component.adoc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/components/camel-aws/src/main/docs/aws-sns-component.adoc
b/components/camel-aws/src/main/docs/aws-sns-component.adoc
index 0d5f11d..b79ca66 100644
--- a/components/camel-aws/src/main/docs/aws-sns-component.adoc
+++ b/components/camel-aws/src/main/docs/aws-sns-component.adoc
@@ -192,6 +192,14 @@ Registry, while the `#amazonSQSClient` refers to an
`AmazonSQS` client.
By specifying `subscribeSNStoSQS` to true and a `queueUrl` of an existing SQS
Queue,
you'll be able to subscribe your SQS Queue to your SNS Topic.
+At this point you can consume messages coming from SNS Topic through your SQS
Queue
+
+[source,java]
+-------------------------------------------------
+from("aws-sqs://test-camel?amazonSQSClient=#amazonSQSClient&delay=50&maxMessagesPerPoll=5")
+ .to(...);
+-------------------------------------------------
+
### Dependencies
Maven users will need to add the following dependency to their pom.xml.