Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为ActiveMQ 版本 5.4.3编写不同事件的警报,例如客户端连接或断开连接。但我无法继续,也无法ActiveMQ.Advisory.Connection为引发异常的主题创建订阅者:
ActiveMQ.Advisory.Connection
Exception in thread "main" javax.jms.JMSException: Cannot create a durable subscription for an advisory Topic
对此的任何帮助将不胜感激。
谢谢杰
您不能为咨询主题创建持久订阅,这正是异常告诉您的内容。只需创建一个普通订阅,您就不会收到错误消息。