Can't get ActiveMQ to resend my messages

做~自己de王妃 提交于 2019-12-05 05:34:20

You don't have to use transactions, CLIENT_ACK/Session.recover() will work as well...

Messages are redelivered to a client when any of the following occurs:

  • A transacted session is used and rollback() is called.
  • A transacted session is closed before commit is called.
  • A session is using CLIENT_ACKNOWLEDGE and Session.recover() is called.

see http://activemq.apache.org/message-redelivery-and-dlq-handling.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!