Nexial Automation

Test Automation Platform for everyone!

X

aws.sqs » deleteMessage(profile,queue,receiptHandle)

Description

Delete a message from a SQS queue using the specified profile. In order to delete a SQS message, the associated receipt handle must be specified. See receiveMessage(profile,queue,var) or receiveMessages(profile,queue,var) to understand how to obtain the appropriate receipt handle.

Parameters

Example

The above example retrieves a message from the nexial-test-queue queue, prints out the message details, and then deletes the same message via its .receiptHandle.

See Also