If using client acknowledgement mode on the session then this method will acknowledge that the message has been processed correctly.
IMessage Interface | NMS Namespace