【发布时间】:2019-11-11 08:52:52
【问题描述】:
./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 端口上运行。
通过这些命令创建队列的尝试是成功的,但是我也没有通过这种方式清除队列。
你有什么想法吗?
【问题讨论】:
标签: activemq-artemis