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 <anco...@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`.