Le 01/09/15 19:20, Jon V. a écrit : > Emmanuel is correct. You have to manage that backlog. Mina provides write > request handlers so you get notifications when the data is written. If you > detect that data isn't writing you should take steps to mitigate sending > data to that session.
The best solution is to not write anything until you have received the messageSent event. So in your IOHandler, when you are to write something in the session, do that in the messageSent() method. I know it's more complex this way, but at least you control what's going on tightly.