This content has been marked as final.
Show 1 reply
-
1. Re: Sending to another host after connection was lost
ron_sigal Mar 1, 2009 1:58 AM (in response to danieltravin)Well, that's a big question. Remoting has various services, such as connection monitoring and server discovery, that could be used to support failover. I'm going to suggest that you take a look at the clustered Transporter sample, which uses an org.jboss.remoting.detection.multicast.MulticastDetector to find alternative servers. There is a discussion in Section 12.9.5. "Transporter sample - clustered" of the Remoting Guide (http://www.jboss.org/jbossremoting/docs/guide/2.5/html/index.html). The sample code may be found in examples/org/jboss/remoting/samples/transporter/clustered in the distribution. Look at org.jboss.remoting.samples.transporter.clustered.client.Client.java in particular.