deleteMessage (method)

Deletes the message specified.

Syntax

- (void)deleteMessage:(NSString*)queueId :(NSString*)receiptHandle;
public func deleteMessage(_ queueId: String, _ receiptHandle: String) throws -> Void

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 VisibilityTimeout. Attempting to call DeleteMessage for a message received from a FIFO queue after its VisibilityTimeout has expired will cause the server to return an error.

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