activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Jabali <mjab...@fusesource.com>
Subject Re: How to connect to multiple brokers?
Date Tue, 16 Aug 2011 06:17:34 GMT
Hi,

Take a look on the Fanout Transport at http://activemq.apache.org/fanout-transport-reference.html.

Hope this helps,

-Marcelo
 
On Aug 14, 2011, at 1:18 PM, jessezbj wrote:

> 
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message