"kiran222" wrote : Thanks for your replies. I am still trying to make the 
example in http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA work with JBoss 
4.0.
  | 
  | I don't mind whether the load balancing takes place in the Queues or at the 
Consumer(MDB) level.
  | 
  | So this is my understanding now: 
  | 
  | In my scenario of a 2 node cluster, from a client, look up the Queue using 
the HAJNDI. So, you don't know the identity of the Node where the Queue is 
picked up from. 
  | 

Correct

anonymous wrote : 
  | Regard less, if you keep sending the JMS Messages to that Queue, the MDBs 
from both Nodes are going to receive the Messages. This is an automatic feature 
available using HAJNDI.
  | 

Not sure about this one... I have the following setup:

(client) -----> (cluster HA-JMS queue) <-----(mdb consumers)

Client (stand alone jboss instance) sends messages to my HA-JMS cluster, which 
now consists of two machines (two jboss instances). The cluster has the HA-JMS 
clustered queue deployed, and provides fail-over and load-balancing for my 
message consumers.

My mdb consumers (which also live on a different machine and jboss instance) 
are looking up the queue using HA-JNDI so they have automatic  fail-over and 
load-balancing (this is a feature of HA-JMS). 

Note that my MDB's are not on the same host as the clustered JMS queue. (I'm 
not sure if it would be of any use to use HA-JMS if they were on the same node).

Regards,

Harm


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to