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 <anco...@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)®ion=EU_WEST_1"); + .to("aws2-sqs://camel-1?accessKey=RAW(xxx)&secretKey=RAW(xxx)®ion=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.