Dear All, I'm using Mina 2 with TextLineCodeFactory as the protocol codec. As session is opened, I need use the same connection to send many messages. But even though the messages are sent with delay 1 second using the same session, the remote peer has not received any of them. UNTIL, all messages are written (session.write).
I don't want this. I want each message is sent immediately just like simple java socket send. How to achieve this? Do I have to create my own codec which flush each message immediately? This is my code: http://pastebin.com/maca2e71 Thanks -- ~The best men are men who benefit to others http://michsan.web.id Yang berkualitas memang beda rasanya! http://rizqi-cookies.com
