如何解决 "WARN: AMQ212054: Destination address=examp is blocked"

how to resolve "WARN: AMQ212054: Destination address=examp is blocked"

我是 Spring JMS 的新手。我是 运行 一个使用 ActiveMQ Artemis 的 Spring JMS 简单聊天应用程序。调用 send() 之后我得到了这个:

WARN: AMQ212054: Destination address=examp is blocked. If the system is configured to block make sure you consume messages on this configuration.

send() 之后的代码没有被执行。请帮忙。

代理可能会阻止将消息发送到某个地址的原因有多种:

  1. 如果<address-full-policy>BLOCK并且地址已经达到配置的<max-size-bytes>.
  2. 如果<address-full-policy>BLOCK并且达到所有地址的<global-max-size>
  3. 如果达到<max-disk-usage>

我的猜测是您正在点击#3。因此,我建议您将 max-disk-usage90(即默认值)增加到 100,例如:

<max-disk-usage>100</max-disk-usage>

由于您的磁盘 Space 已满,您可能会收到此错误,因此请尝试从您的磁盘 space.

中删除一些未使用的数据