On Sat, 2006-09-23 at 09:32 -0700, peter royal wrote: > 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() ) ) );
Hi guys What are the benefits/pitfalls of using the Java5 concurrent stuff compared to the MINA implementation? Ta. -- Frederic Soulier <[EMAIL PROTECTED]> OpenPGP key available on http://www.keyserver.net 1024D/BA6700ED 49A6 8E8E 4230 8D41 1ADE B649 3203 1DD2 BA67 00ED
