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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere Java API reference » QAnywhere Java API for clients » QAManagerBase interface


cancelMessage method

boolean 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.