On Sep 12, 2006, at 4:16 AM, Johannes U. Jensen wrote:
I have been trying to use the thread pool but I am not quite sure I have gotten it right. So far my intuition tells me this is the traversal of a message through mina is like this (best viewed in a fixedwidth font):

Message Received -> Filterchain( filter1 -> filter2 -> ... -> filterN) -> iohandler.

yes


and when I insert a threadpool in the filterchain it will turn into this: - > ... -> FilterN -> iohandler Message Received -> Filterchain(filter1 -> filter2 -> Threadpool - > ... -> FilterN -> iohandler - > ... -> FilterN -> iohandler

yes

where the number of braches from the threadpool is number of threads in it. Is this correct? If so then I assume all iohandler actions are performed on the same iohandler object, the one I pass to ioacceptor.bind, right?

yup!

-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to