You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Daniel Amadei <da...@gmail.com> on 2007/02/07 14:28:23 UTC

mina thread pool

Hi All,

Can somebody tell me how to set the thread pool for MINA 1.0? Is using
the Acceptor constructor which receives the number of worker threads
the only option for configuring the thread pool?

I read in the 0.8 tutorial that 2 different thread pools could be set:
one for the IO Layer and other for the Protocol Layer. Is this still
available? If so, how can I set both pools?

Thanks in advance,
Daniel C. Amadei

Re: mina thread pool

Posted by Veer <kr...@gmail.com>.
Daniel,

I am new to mina as well, but this mail from Trustin may help on 1.0 thread
model
http://www.nabble.com/Is-ThreadModel-really-useful--t2778892.html

thanks
veer
On 2/7/07, Daniel Amadei <da...@gmail.com> wrote:
>
> Hi All,
>
> Can somebody tell me how to set the thread pool for MINA 1.0? Is using
> the Acceptor constructor which receives the number of worker threads
> the only option for configuring the thread pool?
>
> I read in the 0.8 tutorial that 2 different thread pools could be set:
> one for the IO Layer and other for the Protocol Layer. Is this still
> available? If so, how can I set both pools?
>
> Thanks in advance,
> Daniel C. Amadei
>



-- 
Imagination is more important than knowledge...Albert Einstein