Described configuration will work if I stop m1 broker and configure m0 as:

<beans>
<bean id="broker" class="org.apache.activemq.broker.BrokerService" init-method="start" destroy-method="stop">
                <property name="persistent" value="false"/>
                <property name="transportConnectorURIs">
                        <list>
                                <value>tcp://localhost:5000</value>
                        </list>
                </property>
                <property name="networkConnectorURIs">
                        <list>

<value>static:(failover:(tcp://m1:5000,tcp://192.168.46.2:5000))</value>
                        </list>
                </property>
        </bean>
</beans>

So, is it impossible to use more than 2 brokers in network?

Reply via email to