carbon60 wrote:
> 
> But the master/slave setup seems to cause a bottleneck with a single
> broker, no? I would rather have multiple brokers sharing the load in a
> peer-to-peer fashion.
> 

I believe that this config should work:

    <broker xmlns="http://activemq.org/config/1.0"; brokerName="broker1"
id="broker1" useJmx="true" persistent="true"
            dataDirectory="${data.basepath}/messages">
        <networkConnectors>
            <!-- by default just auto discover the other brokers -->
            <networkConnector name="default-nc" uri="multicast://default"/>
        </networkConnectors>
        <transportConnectors>
            <transportConnector uri="tcp://localhost:61818?trace=true"
discoveryUri="multicast://default"/>
        </transportConnectors>
    </broker>

All the brokers will have their own data directory. This should give me
reliability and performance, I hope.

Thoughts?

Thanks,

A.


-- 
View this message in context: 
http://www.nabble.com/Configuration-Confusion-tp15982539s2354p16018585.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to