Hi JB,
I got what you have explained. But If I follow what you have said, what will
happen if the broker1 goes down? Assume that all my producers and consumers
connected to broker1.
Rgds,
Mohammed
--
View this message in context:
http://activemq.2283324.n4.nabble.com/How-to-achieve-ActiveMQ
How to implement Loadbalancing in active MQ. I saw a few articles on
failover, network of brokers etc.
But doesnt server my purpose.
By load balancer I am looking for a solution like for web application we use
apache proxy infront of multiple application server to balance load and
client will get o
Thanks for the reply. But could you tell me one thing, if I have network of
brokers, say broker1, broker2, broker3, which one the the client will
connect to?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/How-to-achieve-ActiveMQ-Load-balanching-tp4667798p4667810.html
Sen
How to implement Loadbalancing in active MQ. I saw a few articles on
failover, network of brokers etc.
But that doesnt server my purpose.
By load balancer, I am looking for a solution like, for web application we
use apache proxy infront of multiple application server to balance the load
and clie
ng the vm
transport and configuring it using an external configuration file --
http://activemq.apache.org/vm-transport-reference.html -- works.
Any ideas?
Next, I'll try doing this in one of the alternate ways.
--aslam
a k'wala wrote:
>
> I'm trying to use the VM Transport,
I'm trying to use the VM Transport, launched in a JUnit TestSetup. Here's how
I create the broker:
String brokerUri =
"vm://localhost?brokerConfig=xbean:file:../mtx-unit-test/testing/activemq/activemq.xml";
BrokerService broker = BrokerFactory.createBroker(new URI(brokerUri));
This causes the fo