Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19010

AWS SQS: Purge Queue operation requires CamelAwsSqsPrefix header

    XMLWordPrintable

Details

    • False
    • None
    • False
    • % %
    • +
    • Automated
    • Hide
      1. Use purge queue producer operation as stated in doc
      2. check, that purge queue was successful.
      Show
      Use purge queue producer operation as stated in doc check, that purge queue was successful.

    Description

      Used versions:

      Apache Camel 3.11.5.fuse-800012-redhat-00004

      Camel Quarkus 2.2.1.fuse-800015-redhat-00004

       

      According to the documentation, we need to set up only SQS_OPERATION (CamelAwsSqsOperation) header with "purgeQueue" value. 

      However, only with this header, the operation doesn't work:

      software.amazon.awssdk.services.sqs.model.QueueDoesNotExistException: The specified queue does not exist for this wsdl version. (Service: Sqs, Status Code: 400, Request ID: 03ef084c-b377-50c1-ba5d-52b8bea4502d, Extended Request ID: null) 

      We found out (thanks to this) that if we set up also SQS_QUEUE_PREFIX (CamelAwsSqsPrefix) header with ANY value, the purge queue operation is successful. 

      We should be able to purge the queue without the prefix, as it is stated in doc. Also, we can use prefix with any value, so it is quite redundant.

      Attachments

        Issue Links

          Activity

            People

              jondruse@redhat.com Jiri Ondrusek
              ldrozdo Lucia Drozdova
              Lucia Drozdova Lucia Drozdova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: