Yes, you can run multiple brokers on a single system.  You just need to be 
mindful of what ports you listen on (via the activemq.xml), and when you are 
sending messages to the correct ports for each instance.

There is going to be a performance hit of using two servers instead of one, if 
the system is really busy.  If its not, you probably won't notice any major 
problems.  I like running multiple brokers for testing different versions of 
ActiveMQ or ServiceMix on the same box.  As for a production setup, I don't see 
a benefit to running multiple instances on the same server in the majority of 
cases-- in fact, I think it creates more administrative and support headaches.

I do like the model of running a second instance to take over in the event that 
the first instance fails, but for just processing messages through queues and 
topics, one per server is usually fine for most folks-- especially if you have 
a second server that is part of a cluster of brokers.

Matt Pavlovich

On Sep 20, 2010, at 4:14 AM, pp wrote:

> 
> hi,
> 
> 
> Is it possible to run multiple instances of a broker in a single system. And
> what is the performance of activemq if we run multiple instances of a broker
> in a single system.
> -- 
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Need-Help-tp2546691p2546691.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to