ActiveMQ Artemis无法获得队列统计信息

莉莉亚

有一个./artemis命令应显示队列的统计信息:(./artemis queue stat最后一个):

The most commonly used artemis commands are:
    address     Address tools group (create|delete|update|show) (example ./artemis address create)
    browser     It will browse messages on an instance
    consumer    It will consume messages from an instance
    create      creates a new broker instance
    data        data tools group (print) (example ./artemis data print)
    help        Display help information
    mask        mask a password and print it out
    migrate1x   Migrates the configuration of a 1.x Artemis Broker
    producer    It will send messages to an instance
    queue       Queue tools group (create|delete|update|stat|purge) (example ./artemis queue create)

但是,当我尝试使用它时./artemis queue stat --user=master --password=master --url=tcp://0.0.0.0:1616,我得到

Exception in thread "main" ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ219014: Timed out after waiting 30,000 ms for response when sending packet -12]

ActiveMQ Artemis代理在端口1616上的远程计算机上运行。

通过这些命令创建队列的尝试成功,但是我也无法通过这种方式清除队列。

有什么想法出什么问题吗?

贾斯汀·伯特拉姆

如果代理不同的机器比一个上运行,你正在运行的queue stat命令,则该URLtcp://0.0.0.0:1616不会工作。该地址0.0.0.0是一个特殊的元地址,仅对正在接收网络连接的进程(即充当服务器)真正有用此地址允许服务器接收所有网络接口上的连接。它在客户端上将无法正常运行。您可以在此处了解更多信息0.0.0.0

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

ActiveMQ Artemis 中的集群

来自分类Dev

ActiveMq 无法访问队列网页

来自分类Dev

无法在 ActiveMQ 代理中创建队列

来自分类Dev

ActiveMQ Artemis线程转储

来自分类Dev

ActiveMQ Artemis故障转移与群集

来自分类Dev

Artemis 与 Activemq 5 消息存储

来自分类Dev

ActiveMQ Artemis与独立ActiveMQ一起使用

来自分类Dev

ActiveMQ“冻结”消息占用队列

来自分类Dev

使用RabbitMQ访问ActiveMQ队列

来自分类Dev

ActiveMQ-ActiveMQ实例启动时如何清除队列

来自分类Dev

HA群集ActiveMQ Artemis的正确配置

来自分类Dev

Apache ActiveMQ Artemis地址已在使用中

来自分类Dev

ActiveMQ Artemis-按顺序处理消息

来自分类Dev

ActiveMQ Artemis Web控制台

来自分类Dev

ActiveMQ Artemis上的负面消息数

来自分类Dev

限制ActiveMQ中特定队列的大小

来自分类Dev

ActiveMQ Jolokia Rest API用于删除队列?

来自分类Dev

如何在ActiveMQ中创建队列?

来自分类Dev

ActiveMQ不会使消息脱离队列

来自分类Dev

获取ActiveMQ中的队列名称列表

来自分类Dev

Java监视activemq,但不轮询队列

来自分类Dev

如何删除activemq中的特定队列

来自分类Dev

订阅者队列的多实例| ActiveMQ

来自分类Dev

ActiveMQ 队列计数停止在 400

来自分类Dev

通过Java获得ActiveMQ / Jolokia / HawtIO的凭据

来自分类Dev

ActiveMQ Artemis升级问题:HornetQ到Artemis 2.0

来自分类Dev

使用 artemis-jms-client 从 ActiveMQ Artemis 接收抛出 InvalidDestinationException

来自分类Dev

ActiveMQ AjaxServlet无法在Weblogic上运行

来自分类Dev

无法将消息发送到JBoss EAP 7.2中嵌入的远程ActiveMQ Artemis