The DeleteMessage action unconditionally removes the specified message from the specified queue. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue.
@param deleteMessageRequest Container for the necessary parameters toexecute the DeleteMessage service method on AmazonSQS. @throws ReceiptHandleIsInvalidException @throws AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. @throws AmazonServiceException If an error response is returned by AmazonSQS indicating either a problem with the data in the request, or a server side issue.The DeleteMessage action unconditionally removes the specified message from the specified queue. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue.
@param deleteMessageRequest Container for the necessary parameters toexecute the DeleteMessage service method on AmazonSQS. @throws ReceiptHandleIsInvalidException @throws AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. @throws AmazonServiceException If an error response is returned by AmazonSQS indicating either a problem with the data in the request, or a server side issue.@param messageId The message number to delete. @return True if the deletion attempt was successful, false if not. @exception IOException If a network I/O error occurs in the process ofsending the delete command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|