Just another thought on your problem

When a MDB receives a message it should lookup the SLSB to handle the contents 
of the message. The idea being that the MDB's are lightweight (since they are 
only on one node) and SLSB which are clustered handle the processing of the 
messages. 

The failover for the SLSB's works fine, but for some reason the MDB always 
connects to the same node to get a SLSB instead of load balancing. 



Why do you restrict the MDB's to one node ?

Deploying them on ALL the same nodes as your SLSB and delegation to a local 
SLBS from within onMessage() would also loadbalance your message processing ! 

Furthermore you would gain transactional safety, as message reception (MDB) and 
processing (SLSB) could be handled within the same local transaction and could 
be consistently be rolled back in case of a failure. 

Keep in mind that JBoss transaction manager does not support distributed 
transactions, so a remote call to a SLSB on another cluster-node DOES NOT take 
part in the MDB transaction !

Just a thought :-)

Regards
Ulf


  

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

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


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to