IPWorks MQ 2020 Python Edition

Questions / Feedback?

delete_message Method

Deletes the message specified.

Syntax

def delete_message(queue_id: str, receipt_handle: str) -> None: ...

Remarks

Deletes the message specified by ReceiptHandle from the queue specified by QueueId.

Note: Unlike messages received from standard queues, messages received from FIFO queues can only be deleted within their visibility_timeout. Attempting to call on_delete_message for a message received from a FIFO queue after its visibility_timeout has expired will cause the server to return an error.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Python Edition - Version 20.0 [Build 8155]