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 <anco...@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)&region=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`.

Reply via email to