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/07/30 12:10:18 UTC
[camel] branch master updated (c9bc4a7 -> 0b627c0)
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 c9bc4a7 CAMEL-15353: Add CamelK as category to the component fixed set of known categories
new 7deb2a5 Camel-AWS2-SQS: Added PurgeQueue example
new 0b627c0 Regen website docs
The 2 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:
.../camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 11 +++++++++++
docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 11 +++++++++++
2 files changed, 22 insertions(+)
[camel] 01/02: Camel-AWS2-SQS: Added PurgeQueue 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 7deb2a5c775fa3651ff79f550d6894e544c3574a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jul 30 14:06:12 2020 +0200
Camel-AWS2-SQS: Added PurgeQueue example
---
.../camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 11 +++++++++++
1 file changed, 11 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 40693c5..733c372 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
@@ -378,6 +378,17 @@ from("direct:start")
As result you'll get an exchange containing a `ListQueuesResult` instance, that you can examinate to check the actual queues.
+== Purge Queue
+
+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)®ion=EU_WEST_1");
+------------------------------------------------------------------------------------------------------
+
+As result you'll get an exchange containing a `PurgeQueueResponse` instance.
+
== Queue Autocreation
With the option `autoCreateQueue` users are able to avoid the autocreation of an SQS Queue in case it doesn't exist. The default for this option is `true`.
[camel] 02/02: 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 0b627c0b6f858bf072d49caae964d204a41536c1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jul 30 14:06:57 2020 +0200
Regen website docs
---
docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
index 61ce33c..1b5400c 100644
--- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
@@ -380,6 +380,17 @@ from("direct:start")
As result you'll get an exchange containing a `ListQueuesResult` instance, that you can examinate to check the actual queues.
+== Purge Queue
+
+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)®ion=EU_WEST_1");
+------------------------------------------------------------------------------------------------------
+
+As result you'll get an exchange containing a `PurgeQueueResponse` instance.
+
== Queue Autocreation
With the option `autoCreateQueue` users are able to avoid the autocreation of an SQS Queue in case it doesn't exist. The default for this option is `true`.