【问题标题】:Export messages from the ActiveMQ Artemis dead letter queue and reimport them on another cluster从 ActiveMQ Artemis 死信队列中导出消息并在另一个集群上重新导入它们
【发布时间】:2022-02-17 05:09:58
【问题描述】:

我想从 ActiveMQ Artemis 死信队列中导出失败的消息,然后将它们重新导入另一个集群以调试处理。 Artemis CLI 的功能似乎不支持这样的功能?有人知道如何做到这一点吗?

【问题讨论】:

    标签: debugging jms activemq-artemis


    【解决方案1】:

    您可以使用message transfer 命令从一个代理上的 JMS 队列中消费消息,并将它们发送到另一个代理上的 JMS 队列,例如:

    $ ./artemis message transfer --source-url tcp://broker1:61616 --source-queue DLQ --target-url tcp://broker2:61616 --target-queue myQueue
    

    【讨论】:

    • 非常感谢。我试试看。
    • 你搞定了吗?
    猜你喜欢
    • 1970-01-01
    • 2018-03-31
    • 2011-11-30
    • 1970-01-01
    • 2015-09-23
    • 2016-06-23
    • 2018-05-08
    • 1970-01-01
    • 2021-07-31
    相关资源
    最近更新 更多