Hi all, I am using MINA 1.1 to write a client-server application but struck with some message issues. The problem is as follows:
A client connects to my server and sends a message to it, then, messageReceived of myHandler class (which extends IoHandlerAdapter) should get called, this is working fine. Now suppose I invoke Thread.sleep(6000) method in messageReceived() and in the meantime if the same client sends another message, then I want my messageRecevied method to be get called, but this is not the case, it waits for the completion of messageReceived method. Actually there can be some real-time scenario in which the call to this method may never return. So, just want to know if there's some workaround of this problem. Also would like someone to briefly explain all the configurable parameters and where to use them, actually the documentation is not very clear for this, and the only thing i know is thread-pool. Thanks,
