Hi Trustin, Just want to know if this problem is with our implementation or some Java library problem?
Thanks On 6/8/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
On 6/8/07, peter royal <[EMAIL PROTECTED]> wrote: > On Jun 7, 2007, at 9:11 AM, ravinder singh wrote: > > 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. > > If you want parallel processing of messages from the same connected > client, don't use the ExecutorFilter. It serializes messages from the > same client. Please keep your eyes on the following JIRA issue, Ravinder: https://issues.apache.org/jira/browse/DIRMINA-334 HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
