Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
对在给定消息之前收到的给定 QAMessage 实例和所有未确认消息进行确认。
void QAManager.acknowledgeUntil(QAMessage msg) throws QAException
msg 要确认的最后一个消息。还确认所有较早的未确认消息。
QAException 类 如果确认消息时存在问题,则抛出异常。
当 QAMessage 得到确认后,它的状态属性会更改为 StatusCodes.RECEIVED。这时可以使用缺省删除规则将其删除。