Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指示消息是否以前已接收但尚未确认。
boolean QAMessage.getRedelivered() throws QAException
如果以前收到过此消息但尚未确认,则返回 True。
QAException 类 如果检索重新发送的状态时存在问题,则抛出异常。
如果接收方 QAManager 检测到以前曾收到过正在接收的消息,则设置 Redelivered。
例如,应用程序使用以 AcknowledgementMode.EXPLICIT_ACKNOWLEDGEMENT 打开的 QAManager 接收消息,并且没有确认此消息就关闭。当应用程序再次启动并接收同一消息时,此消息将被标记为 redelivered。