activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carbon60 <a...@sherman.ca>
Subject Re: Configuration Confusion
Date Thu, 13 Mar 2008 00:27:25 GMT


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.


Mime
View raw message