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

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere Java API 参考 » 用于客户端的 QAnywhere Java API » QAManagerBase 接口

 

cancelMessage 方法

语法
boolean QAManagerBase.cancelMessage(
  String id
)
throws QAException
参数
  • id   要取消的消息的消息 ID。

抛出条件
  • 如果取消消息时存在问题,则抛出。

注释

取消具有给定消息 ID 的消息。

在消息传输前将其置于已取消状态。

当使用 QAnywhere 代理的缺省删除规则时,已取消的消息最终会从消息存储库中删除。

如果消息已经处于最终状态,或已经将消息传输到中央消息传递服务器,此操作将失败。