Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-858

AWS SQS: Purge Queue operation requires CamelAwsSqsPrefix header

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 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.
    • 0

      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.

        1.
        Documentation Sub-task Closed Undefined Unassigned
        2.
        Productization Sub-task Closed Undefined Unassigned
        3.
        Review Test Sub-task Closed Undefined Unassigned
        4.
        Development Sub-task Closed Undefined Unassigned

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

              Created:
              Updated:
              Resolved: