"kiran222" wrote : 
  | Why not? The Node (with JMS Queue) has the JBoss server running and 
available for processing. Why should not we use it? 
  | 
  | If that Node (with JMS Queue) is to die, another instance of Queue will be 
made available on the other Node by the HAJNDI and that Queue will start taking 
the messages from the client. I verified that it is working.
  | 

Okay I can see your point... Just remember that when your node dies (machine 
crashes), you loose both the queue and a message consumer (processing power). 
This is the reason why we chose to deploy our consumers on separe JBoss 
instances.

"kiran222" wrote : Correction of the last message:
  | 
  | One thing that still bugs me is: How does the load balancing work? In the 
scenario described above, what (criteria) triggers the messages to be delivered 
to the MDBs on the second Node?
  | 
  | Kiran 

>From the WIKI:

http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA&version=32

anonymous wrote : 
  | Load-balanced, faul-tolerant MDBs in HAJMS
  | 
  | Load-balancing message processing with MDBs is a one of the best ways to 
distribute load across a cluster because the node with the least activity will 
process the message (as opposed to a round-robin load-balancing algorithm which 
could continue to place load on an already overloaded node).
  | 

So I guess the node with the least activity gets the message. (I think some 
kind of 'load' indicator exists in de clustered jboss-instances). 

Does that help?




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

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


-------------------------------------------------------
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