Env : Spring Framework 3.2.3.RELEASE
Is there a way achieve failover with RmiProxyFactoryBean or any other in a straight forward spring context configuration ?
I have a ServerA as primary & ServerB as alternate RMI servers. If connection to ServerA is down , RMI calls should be directed to ServerB.
I have overridden
refreshAndRetry&lookupStubmethod ofRMIProxyFactoryBeanto acheive this failover switching.Configuration XML:
If any better options let me know.