如何修复 Active MQ Wildfly 警告 - 页面文件 000002707.page 在记录号 9 的位置 373,401 处有不完整的记录?

How to fix Active MQ Wildfly warning - Page file 000002707.page had incomplete records at position 373,401 at record number 9?

如何修复以下 Wildfly 警告:

2019-10-09 15:15:04,179 WARN  [org.apache.activemq.artemis.core.server] (Thread-8 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl@216f6b3e-1182524264)) AMQ222033: Page file 000002707.page had incomplete records at position 373,401 at record number 9
2019-10-09 15:15:05,182 WARN  [org.apache.activemq.artemis.core.server] (Thread-1 (ActiveMQ-remoting-threads-ActiveMQServerImpl::serverUUID=3bea749a-88f7-11e7-b497-27b2839ef45c-1594512315-717665458)) AMQ222033: Page file 000002707.page had incomplete records at position 373,401 at record number 9
2019-10-09 15:15:05,185 WARN  [org.apache.activemq.artemis.core.server] (Thread-11 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl@216f6b3e-1182524264)) AMQ222033: Page file 000002707.page had incomplete records at position 373,401 at record number 9

我在 google 上只得到一个 link,这表明服务器崩溃了,但我不确定如何停止它 -> https://developer.jboss.org/thread/154232

它包含 Apache Camel 项目,该项目挑选了 20,000 条消息放入队列,其中许多被丢弃,其他处理不确定是否相关

链接论坛 post 很好地解释了页面文件损坏的可能原因。对于 "fix" 这个问题,我建议您使用受影响队列中的所有消息,停止代理,并删除损坏的页面文件。