activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From radha_mit <>
Subject queues and topics behaving in cluster of activeMQ's
Date Fri, 28 May 2010 04:03:38 GMT

We have a activeMQ cluster of three activeMQ brokers . say host1, host2,
We have 2 producers and one consumer. 
the use case is 2 producers write to the same queue and the consumer takes
it from that queue. 
the URL i give to the 3 clients is   
public static final String ACTIVE_MQ_URL

All 3 in the cluster are up and running 
if randomize=true, the client will pick up a broker at random and connect to

We start the consumer first.
lets assume, It creates connection to  and creates a queue
there .

The queue is now on although it can be reachable from all
activeMQ clusters !! Am i correct  ?

Now we start producer 1  lets assume it connects to, will it
create a queue or will be redirected to by the
broker( since has the queue created.

lets assume that 5 queues are on
		 5 queues are on
		0 queues are on
and 1 queue in begins to accumalate more messages in memory and
begins to grow in size.
Now what will happen, will this queue by shifted to the where
there are no queues (dynamic load balancing). 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message