Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere Java API reference » ianywhere.qanywhere.client package » Interface QAManagerBase


cancelMessage method

boolean ianywhere.qanywhere.client.QAManagerBase.cancelMessage(
  String id
throws QAException
  • id   The message ID of the message to cancel.

  • Thrown if there is a problem canceling the message.

Cancels the message with the given message ID.

Puts a message into a canceled state before it is transmitted.

With the default delete rules of the QAnywhere Agent, canceled 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.