[jboss-user] [JBoss Messaging] - Re: Example how to use LoadBalancingFactory

maxogm do-not-reply at jboss.com
Fri May 8 04:10:33 EDT 2009


I try to test max number of clients in Jboss messaging 1.4.2. 

I started two Jboss instance:

run.bat -c node1 -b 10.113.1.158 -Djboss.messaging.ServerPeerID=1 
  | run.bat -c node2 -b 10.113.1.218 -Djboss.messaging.ServerPeerID=2

and in my client I used:

ConnectionFactory cf = (ConnectionFactory) context.lookup("/ClusteredConnectionFactory");

but LoadBalancing did not work.

After that I guess I must use LoadBalancingFactory. 
Maybe I mistake, I'm new to all this.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229640#4229640

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229640



More information about the jboss-user mailing list