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/08/04 10:01:41 UTC

[camel] 05/06: Camel-AWS2-SQS: Added a send message simple example

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

commit bd6e639ee7eedf8e39fded1de27136cbc58ae435
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 4 11:59:49 2020 +0200

    Camel-AWS2-SQS: Added a send message simple example
---
 .../camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc       | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc b/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
index 04da9c9..839b8e2 100644
--- a/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
+++ b/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
@@ -330,6 +330,16 @@ consumers.
 - deleteMessage
 - listQueues
 
+== Send Message
+
+You can set a `SendMessageBatchRequest` or an `Iterable`
+
+------------------------------------------------------------------------------------------------------
+from("direct:start")
+  .setBody(constant("Camel rocks!"))
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
+------------------------------------------------------------------------------------------------------
+
 == Send Batch Message
 
 You can set a `SendMessageBatchRequest` or an `Iterable`