Hi,

 

I have developed a Server using MINA 0.9.3 and would like to change the
thread model. Currently my IoHandler is called by multiple threads, but each
thread is associated with a unique IoSession and so I can't simultaneously
handle multiple client requests received over the same IoSession. My clients
(who I have no control over) tend to create a single connection and batch
requests over it - so I would like to have multiple threads active for a
single IoSession. 

 

Can you advise on the best way to achieve this with MINA? 

Also is the IoSession class thread safe e.g. if I make this change I can
multiple threads simultaneously invoking methods on the same IoSession?

 

Thanks

Trevor

Reply via email to