take a look at the DistributedQueueExample.
The load balancing is done by the clustered connection factory, on createConnection(..) it
will return a connection to one of the nodes in the cluster in a round robin fashion. From
then on all messages are routed through this node. You dont need to use ha jndi if
you're using a clustered connection factory.
If your JMS client is running inside the App Server then you should always route to the
local queue to save on round trips.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144505#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...