- Fuse Message Broker all versions
Can a pure master/slave cluster be configured using a network connector?
You do not use a network connector when configuring a pure master/slave cluster. You configure a slave in one of two ways:
1) Using masterConnectorURI and shutdownOnMasterFailure attributes of the amq:broker element:
<beans xmlns:amq="http://activemq.org/config/1.0"> ... <broker depends-on="jmxServer" masterConnectorURI="tcp://masterhost:62001" shutdownOnMasterFailure="false"> ... </amq:broker> </beans>
2) Using the masterConnector element:
<beans xmlns:amq="http://activemq.org/config/1.0"> ... <broker depends-on="jmxServer" shutdownOnMasterFailure="false" > ... <masterConnector remoteURI= "tcp://localhost:62001" userName="James" password="Cheese" /> ... </broker> </beans>
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.