On Sep 23, 2006, at 2:38 AM, Frédéric Brégier wrote:
Do I need to re-code ExecutorThreadModel and any
files that match the backport jar ?
Or do I need to do something more simple as specifying
somewhere my own thread pool ?

And last question, does Mina now depend en backport
or can I still use it without this jar ?

You still need the backport jar, as well as the java5 module for mina.

do something like:

IoConfig.setThreadModel( ThreadModel.MANUAL );
IoConfig.getFilterChain().addFirst( new ExecutorFilter( new ExecutorExecutor( Executors.newCachedThreadPool() ) ) );

-pete



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



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

Reply via email to