mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbrytskyy <sbryts...@gmail.com>
Subject Reliable delivery
Date Mon, 08 Jul 2013 08:44:33 GMT
My question is how to get if possible message in method 
*public void exceptionCaught(IoSession session, Throwable cause)*

Let's do step by step using standard mina example chat.
1. Server and client are deployed on different computers
2. Start server
3. Start client
4. Login to server
5. Send test message

So far everything goes well.

6. Unplug network cable on server
7. Meanwhile send message from the client

Message will not be passed to server. Exception will be thrown and method
*exceptionCaught* will be executed.

Is it possible to know from *IoSession* what message was lost?
Or is there any other correct way of error handling and reliable message

View this message in context: http://apache-mina.10907.n7.nabble.com/Reliable-delivery-tp38562.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

View raw message