我正在尝试配置纯主/从代理配置。在slave activemq.xml文件中,我有以下配置
<services>
<masterConnector remoteURI="tcp://localhost:61616" />
</services>
当我启动奴隶经纪人时,它会给我以下错误:
无法加载:类路径资源[activemq.xml],原因:第50行 类路径资源[activemq.xml]中的XML文档无效; 嵌套异常是org.xml.sax.SAXParseException; lineNumber:50; columnNumber:58; cvc-complex-type.2.4.a:找到无效的内容 从元素'masterConnector'开始。之一 “{ “http://activemq.apache.org/schema/core”:经纪人, “http://activemq.apache.org/schema/core
我还尝试通过直接在broker元素上指定masterConnectorURI属性来配置它,但仍然得到SAXException。互联网上到处都有相同的方法,官方网站上的activemq文档似乎没有更新它。提前致谢