Question

I 'am trying to configure pure master/slave broker configuration. In slave activemq.xml file I have following configuration

<services>
    <masterConnector remoteURI="tcp://localhost:61616" />
</services>

When I start slave broker it gives me following error:

Failed to load: class path resource [activemq.xml], reason: Line 50 in XML document from class path resource [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 50; columnNumber: 58; cvc-complex-type.2.4.a: Invalid content was found starting with element 'masterConnector'. One of '{"http://activemq.apache.org/schema/core":broker, "http://activemq.apache.org/schema/core

I have also tried to configure it by specifying masterConnectorURI attribute directly on broker element but still i get SAXException. Everywhere on internet same method is given and documentation of activemq on official site seems they are not updating it. Thanks in advance

Était-ce utile?

La solution

The pure master slave configuration feature was removed in 5.8.0, see the note at the top of this page. There are still plenty of other options available though, see the docs.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top