Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Mohammed Aslam
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 achieve ActiveMQ-Loadbalanching

2013-06-04 Thread Mohammed Aslam
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

Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Mohammed Aslam
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 achieve ActiveMQ Load balanching

2013-06-04 Thread Mohammed Aslam
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

Re: factory:java.io.IOException: Could not find factory class for resource: META-INF/services/org...

2008-03-21 Thread aslam
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,

factory:java.io.IOException: Could not find factory class for resource: META-INF/services/org...

2008-03-19 Thread aslam
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