【问题标题】:Consume activemq to a log but keep the message in the queue将 activemq 消耗到日志但将消息保留在队列中
【发布时间】:2015-03-25 22:36:53
【问题描述】:

我有一个 activeMQ 应用程序。我想阅读传入消息的正文,但将消息保留在队列中。我怎么做?有什么诀窍吗?

【问题讨论】:

    标签: java logging activemq consumer


    【解决方案1】:

    您可以通过ActiveMQQueueBrowser使用ActiveMQ的消息浏览功能

    http://activemq.apache.org/maven/apidocs/org/apache/activemq/ActiveMQQueueBrowser.html

    【讨论】:

      猜你喜欢
      • 2021-10-01
      • 2019-07-15
      • 2015-02-03
      • 1970-01-01
      • 2018-11-30
      • 1970-01-01
      • 2021-04-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多