id The message ID of the message to cancel.
Thrown if there is a problem cancelling the message.
Cancels the message with the given message ID.
Puts a message into a cancelled state before it is transmitted.
With the default delete rules of the QAnywhere Agent, cancelled messages are eventually deleted from the message store.
Fails if the message is already in a final state, or if the message has been transmitted to the central messaging server.