首页 > 解决方案 > 如何知道从 STOMP 在 ActiveMQ Artemis 中创建 MULTICAST 地址的错误是什么?

问题描述

我正在使用来自 Angular 的 STOMP 通过 ActiveMQ Artemis 2.10.1 中的 Spring Boot 进行连接。出于某种原因,一些 MULTICAST 地址正在正常创建,如jms.topic.Inss-1jms.topic.Inss-111,但jms.topic.Inss-114不是。

在日志文件 INFO 级别:

WARN  [org.apache.activemq.artemis.core.protocol.stomp] AMQ332069: Sent ERROR frame to STOMP client /127.0.0.1:47146: AMQ339016 Error creating subscription sub-1

所有级别:

DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl] registered address org.apache.activemq.artemis:broker="0.0.0.0",component=addresses,address="jms.topic.Inss-114"
DEBUG [org.apache.activemq.artemis.core.server.management.impl.ManagementServiceImpl]registered queue org.apache.activemq.artemis:broker="0.0.0.0",component=addresses,address="jms.topic.Inss-114",subcomponent=queues,routing-type="multicast",queue="e45ece7f-fa8a-11e9-bacb-f23c91899d61"
DEBUG [org.apache.activemq.artemis.core.server.impl.ServerSessionImpl] Queue e45ece7f-fa8a-11e9-bacb-f23c91899d61 created on address jms.topic.Inss-114 with filter=null temporary = true durable=false on session user=admin, connection=org.apache.activemq.artemis.core.protocol.stomp.StompConnection@70674c9
DEBUG [org.apache.activemq.artemis.core.server.impl.QueueImpl] QueueImpl[name=e45ece7f-fa8a-11e9-bacb-f23c91899d61, postOffice=PostOfficeImpl[server=ActiveMQServerImpl::serverUUID=022fac19-ef63-11e9-a5eb-f23c91899d61], temp=true]@402f950f adding consumer ServerConsumerImpl [id=45306157,filter=null, binding=LocalQueueBinding address=jms.topic.Inss-114, queue=QueueImpl[name=e45ece7f-fa8a-11e9-bacb-f23c91899d61, postOffice=PostOfficeImpl[server=ActiveMQServerImpl::serverUUID=022fac19-ef63-11e9-a5eb-f23c91899d61], temp=true]@402f950f, filter=null, name=e45ece7f-fa8a-11e9-bacb-f23c91899d61, clusterName=e45ece7f-fa8a-11e9-bacb-f23c91899d61022fac19-ef63-11e9-a5eb-f23c91899d61]]
DEBUG [org.apache.activemq.artemis.core.server.impl.ServerSessionImpl] Session with user=admin, connection=org.apache.activemq.artemis.core.protocol.stomp.StompConnection@70674c9 created a consumer on queue e45ece7f-fa8a-11e9-bacb-f23c91899d61, filter = null 
DEBUG [org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl] ServerConsumerImpl [id=45306157, filter=null, binding=LocalQueueBinding [address=jms.topic.Inss-114, queue=QueueImpl[name=e45ece7f-fa8a-11e9-bacb-f23c91899d61, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=022fac19-ef63-11e9-a5eb-f23c91899d61], temp=true]@402f950f, filter=null, name=e45ece7f-fa8a-11e9-bacb-f23c91899d61, clusterName=e45ece7f-fa8a-11e9-bacb-f23c91899d61022fac19-ef63-11e9-a5eb-f23c91899d61]]::FlowControl::Received disable flow control message
DEBUG [org.apache.activemq.artemis.core.server.impl.QueueImpl] QueueImpl[name=e45ece7f-fa8a-11e9-bacb-f23c91899d61, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=022fac19-ef63-11e9-a5eb-f23c91899d61], temp=true]@402f950f doing deliver. messageReferences=0 
DEBUG [org.apache.activemq.artemis.core.server.impl.ServerSessionImpl] deleting temporary queue e45ece7f-fa8a-11e9-bacb-f23c91899d61 
DEBUG [org.apache.activemq.artemis.core.server] no queue to delete "e45ece7f-fa8a-11e9-bacb-f23c91899d61." 
WARN [org.apache.activemq.artemis.core.protocol.stomp] AMQ332069: Sent ERROR frame to STOMP client /127.0.0.1:41504: AMQ339016 Error creating subscription sub-1

我希望明确的错误消息能够理解我的问题。

标签: angularspring-bootstompactivemq-artemis

解决方案


推荐阅读