activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessezbj <jesse...@hotmail.com>
Subject How to connect to multiple brokers?
Date Sun, 14 Aug 2011 20:18:50 GMT

I want to connect the client application to multiple brokers, then  I can
balance the message sending to different brokers.

Now I use the method of creating multiple connection factories in the
client, each with different connection uri.

that is.

for(uri in uri1... uriN) {
new ActiveMQConnectionFactory(uri);
}

but I find a lot of overhead in message sending.


Is there any better way to create multiple connections to different brokers
in one client.



--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-connect-to-multiple-brokers-tp3743437p3743437.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message