Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 CLIENT_ACKNOWLEDGE 模式下运行我的 JMS 会话,如果我没有确认消息,我没有看到消息再次被重新传递到队列,您能否告诉我消息何时传递回 MQ,是会话终止时呢?
如果您CLIENT_ACKNOWLEDGE在接收器中使用,则必须手动恢复未确认的消息。看一下 JMSSession.recover()方法,它会触发重新传递。
CLIENT_ACKNOWLEDGE
Session.recover()
参考: