[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-519 - Failover(HA) design discussion
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Oct 9 00:39:04 EDT 2006
Regarding use of aspects for handling failover/loadbalancing, have a look at the following classes in the AS aspects module, o.j.aspects.remoting package:
1) ClientChooserInterceptor -- client side aspect.
2) ReplicantsManagerInterceptor -- server side aspect that propagates cluster topology changes back to the client as response metadata.
3) ClusteredRemoting. This is a class that creates proxies that uses these interceptors.
EJB3 uses the first two. It doesn't actually use ClusteredRemoting; rather it does similar things in its own more specialized proxy factories.
These classes import the main loadbalancing stuff from the AS cluster module. I've gotten a version of that load balancing stuff extracted out into a separate project that can be checked in. For background on that see
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89015
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976874#3976874
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976874
More information about the jboss-dev-forums
mailing list