On Jul 7, 2006, at 5:38 PM, Joao wrote:
 Sorry for this new buy question...
I have a server(kinda proxy) that connects to two connection upstream . In fact, it will connect to the second socket only if the first socket goes down.
   The second connection/socket is more of a failover option.


 Is a future like this already implemented in mina?

Is there an easy way to implement it using the present connector infrastructure?

interesting... you want to fail-over when writes fail?

my initial suggestion is to just set a Callback on the WriteFuture you get after IoSession.write() that does the fail-over logic when the first server goes down. That's the best existing infrastructure that we've got for achieving this, based on my understanding of what you want to do..

-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to