You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Michał Jedynak <m....@gmail.com> on 2010/02/02 12:21:52 UTC

Mina 1.1.7 threading problem.

Hi,
I'm using Mina 1.1.7 to write a client. The problem is that when I
have only one connection to the external server with my client, the
method messageReceived() in my IoHandlerAdapter is invoked always in a
single thread, despite having configured thread model as described in
http://mina.apache.org/configuring-thread-model.html. When there are
more connections, everything works fine. Is there any possibilty to
make it multi-threaded, with only one connection to the external
server?

-- 
Michał Jedynak

Re: Mina 1.1.7 threading problem.

Posted by Emmanuel LŽcharny <el...@gmail.com>.
Michał Jedynak a écrit :
> Hi,
> I'm using Mina 1.1.7 to write a client. The problem is that when I
> have only one connection to the external server with my client, the
> method messageReceived() in my IoHandlerAdapter is invoked always in a
> single thread, despite having configured thread model as described in
> http://mina.apache.org/configuring-thread-model.html. When there are
> more connections, everything works fine. Is there any possibilty to
> make it multi-threaded, with only one connection to the external
> server?
>   
Switch to MINA 2.0.0-RC1. That could help.