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:36 UTC

[camel] branch master updated (3855bff -> 214e97f)

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

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 3855bff  Sync Properties
     new 79f019f  Camel-AWS2-SQS: Fixed sendBatchMessage region example
     new ce64d0a  Camel-AWS2-SQS: Fixed deleteMessage region example
     new fb38031  Camel-AWS2-SQS: Fixed listQueues region example
     new 335de14  Camel-AWS2-SQS: Fixed purgeQueue region example
     new bd6e639  Camel-AWS2-SQS: Added a send message simple example
     new 214e97f  Regen website docs

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/docs/aws2-sqs-component.adoc            | 20 ++++++++++++++++----
 .../modules/ROOT/pages/aws2-s3-component.adoc        |  2 +-
 .../modules/ROOT/pages/aws2-sqs-component.adoc       | 20 ++++++++++++++++----
 3 files changed, 33 insertions(+), 9 deletions(-)


[camel] 06/06: Regen website docs

Posted by ac...@apache.org.
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 214e97f52ef5d01d26c7dd5ba7d51292afae0ec8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 4 12:00:44 2020 +0200

    Regen website docs
---
 .../modules/ROOT/pages/aws2-s3-component.adoc        |  2 +-
 .../modules/ROOT/pages/aws2-sqs-component.adoc       | 20 ++++++++++++++++----
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc
index f1c3d17..ef457a1 100644
--- a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc
@@ -1,7 +1,7 @@
 [[aws2-s3-component]]
 = AWS 2 S3 Storage Service Component
 //THIS FILE IS COPIED: EDIT THE SOURCE FILE:
-:page-source: components/camel-aws2-glacier/bin/src/main/docs/aws2-s3-component.adoc
+:page-source: components/camel-aws2-s3/src/main/docs/aws2-s3-component.adoc
 :docTitle: AWS 2 S3 Storage Service
 :artifactId: camel-aws2-s3
 :description: Store and retrieve objects from AWS S3 Storage Service using AWS SDK version 2.x.
diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
index 9e4a0ac..19362f0 100644
--- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
@@ -332,6 +332,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`
@@ -350,7 +360,7 @@ from("direct:start")
           exchange.getIn().setBody(c);					
       }
   })
-  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `SendMessageBatchResponse` instance, that you can examinate to check what messages were successfull and what not.
@@ -364,7 +374,7 @@ Use deleteMessage operation to delete a single message. You'll need to set a rec
 from("direct:start")
   .setHeader(SqsConstants.SQS_OPERATION, constant("deleteMessage"))
   .setHeader(SqsConstants.RECEIPT_HANDLE, constant("123456"))
-  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `DeleteMessageResponse` instance, that you can use to check if the message was deleted or not.
@@ -375,7 +385,8 @@ Use listQueues operation to list queues.
 
 ------------------------------------------------------------------------------------------------------
 from("direct:start")
-  .setHeader(SqsConstants.SQS_OPERATION, constant("listQueues")).to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .setHeader(SqsConstants.SQS_OPERATION, constant("listQueues"))
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `ListQueuesResponse` instance, that you can examinate to check the actual queues.
@@ -386,7 +397,8 @@ Use purgeQueue operation to purge queue.
 
 ------------------------------------------------------------------------------------------------------
 from("direct:start")
-  .setHeader(SqsConstants.SQS_OPERATION, constant("purgeQueue")).to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .setHeader(SqsConstants.SQS_OPERATION, constant("purgeQueue"))
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `PurgeQueueResponse` instance.


[camel] 02/06: Camel-AWS2-SQS: Fixed deleteMessage region example

Posted by ac...@apache.org.
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 ce64d0a3236225dc79be1ae1b75be6a3be3103a7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 4 11:56:35 2020 +0200

    Camel-AWS2-SQS: Fixed deleteMessage region example
---
 components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e5084e9..3e461ef 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
@@ -362,7 +362,7 @@ Use deleteMessage operation to delete a single message. You'll need to set a rec
 from("direct:start")
   .setHeader(SqsConstants.SQS_OPERATION, constant("deleteMessage"))
   .setHeader(SqsConstants.RECEIPT_HANDLE, constant("123456"))
-  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `DeleteMessageResponse` instance, that you can use to check if the message was deleted or not.


[camel] 01/06: Camel-AWS2-SQS: Fixed sendBatchMessage region example

Posted by ac...@apache.org.
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 79f019f4b0eb3e4317b55ef69caa6c43a800b9f6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 4 11:56:02 2020 +0200

    Camel-AWS2-SQS: Fixed sendBatchMessage region example
---
 components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 19b69b7..e5084e9 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
@@ -348,7 +348,7 @@ from("direct:start")
           exchange.getIn().setBody(c);					
       }
   })
-  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `SendMessageBatchResponse` instance, that you can examinate to check what messages were successfull and what not.


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

Posted by ac...@apache.org.
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`


[camel] 03/06: Camel-AWS2-SQS: Fixed listQueues region example

Posted by ac...@apache.org.
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 fb380318733c5efb46f7b9f6b4372141eca38546
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 4 11:57:07 2020 +0200

    Camel-AWS2-SQS: Fixed listQueues region example
---
 components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 3e461ef..eeb7f42 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
@@ -373,7 +373,8 @@ Use listQueues operation to list queues.
 
 ------------------------------------------------------------------------------------------------------
 from("direct:start")
-  .setHeader(SqsConstants.SQS_OPERATION, constant("listQueues")).to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .setHeader(SqsConstants.SQS_OPERATION, constant("listQueues"))
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `ListQueuesResponse` instance, that you can examinate to check the actual queues.


[camel] 04/06: Camel-AWS2-SQS: Fixed purgeQueue region example

Posted by ac...@apache.org.
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 335de14cdf53c5fd88d7fbf7018fecb9da848dd6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 4 11:58:12 2020 +0200

    Camel-AWS2-SQS: Fixed purgeQueue region example
---
 components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 eeb7f42..04da9c9 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
@@ -385,7 +385,8 @@ Use purgeQueue operation to purge queue.
 
 ------------------------------------------------------------------------------------------------------
 from("direct:start")
-  .setHeader(SqsConstants.SQS_OPERATION, constant("purgeQueue")).to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=EU_WEST_1");
+  .setHeader(SqsConstants.SQS_OPERATION, constant("purgeQueue"))
+  .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)&region=eu-west-1");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing a `PurgeQueueResponse` instance.