spring-jms - 如何解决“警告:AMQ212054:目标地址 = 考试被阻止”
问题描述
我对 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()
没有被执行。请帮忙。
解决方案
代理可能会阻止将消息发送到某个地址的原因有多种:
- 如果
<address-full-policy>
是BLOCK
且地址已达到配置的<max-size-bytes>
。 - 如果到达所有地址的
<address-full-policy>
isBLOCK
和 the<global-max-size>
。 - 如果
<max-disk-usage>
达到。
我的猜测是你正在打#3。因此,我建议您将max-disk-usage
from 90
(即默认值)增加到100
,例如:
<max-disk-usage>100</max-disk-usage>
推荐阅读
- kdb - 从 .q 文件连接到 kdb+ DB
- r - 在R中的箭头图中为特定数据着色
- firebase - “AngularFirestoreCollectionGroup”类型上不存在属性“doc”
' - java - Woodstox/XML1.1/XSD 解析+验证和 XInclude
- docker - 将 docker 映像从 GCR 拉入 GKE 时出错“无法拉取映像 .... 403 Forbidden”
- python - Python 错误:列表索引必须是整数或切片,而不是元组
- typo3 - 如何使用 sys_category 生成多个新闻 XML 站点地图
- reactjs - redux-persist 存储后删除对象方法
- python - 如何在 Vscode 中看到 Python 类型冲突?
- django - 两个模型合二为一 UpdateView“Django”