Skip to main content

PurgeQueue

AWS SQS Plugin – Purge Queue

Summary (SEO Meta Description):
The AWS SQS plugin in WeHub allows workflows to purge Amazon SQS queues.
Use this action to clear all messages from a queue instantly.


Overview

The Purge Queue action removes all messages from an Amazon SQS queue.
It’s used when workflows need a clean slate, such as resetting test queues or clearing outdated events.

⚠️ Warning: Purging deletes all messages in the queue and cannot be undone.


⚙️ Action: Purge Queue

  • Description: Clears all messages from the specified SQS queue.
  • Use Case: Reset or clean queues in bulk when processing errors or outdated messages.

Configuration Options:

FieldTypeDescription
LabelStringCustom name for the action.
Select ConnectionConnectionChoose or create an AWS connection.
Queue URLStringURL of the SQS queue to be purged.

💡 Example Use Cases

  • Testing & QA: Reset SQS queues between test runs.
  • Error Recovery: Clear out invalid or corrupted messages in bulk.
  • Maintenance: Purge outdated queue data before a new workflow deployment.

FAQ

Q: Can I purge only specific messages?
A: No. The Purge action removes all messages from the queue. Use Delete Message for selective removal.

Q: How long does it take to purge a queue?
A: Purging can take up to 60 seconds to complete depending on the queue size.


Keywords: WeHub AWS SQS Plugin, Purge Queue, Clear Messages, SQS Workflow Automation, Amazon Queue Reset