On Nov 6, 2006, at 10:24 PM, Hieu Phan Thanh wrote:
set the thread model to manual since you add an ExecutorFilter belowI think that if we did not set the ThreadModel is MANUAL, mina will handle the ThreadPools itself. Am I correct?
correct. MINA provides the ExecutorFilter itself by default if. So with your adding one, you have two.
Why didn't we wrap this kind of code in the unbindAll() method, the sameDo I miss any thing? Please advice me.also do protocolExecutor.shutdown();way of SimpleServiceRegistry in mina-0.8.x ? Please advice me once again.
You only need to explicitly shutdown the executor if you add one yourself. Mina handles shutdown of its own pool automatically (well, kinda, they're daemon threads so no shutdown needed)
-pete -- (peter.royal|osi)@pobox.com - http://fotap.org/~osi -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature