Ok. I still think it would be better to expose:
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/doc/api/edu/emory/mathcs/backport/java/util/concurrent/ExecutorService.html Paul On 7/27/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Because, the baseline for Axis2 is JDK 1.4 > > -- dims > > On 7/27/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > Hi > > > > I'm looking at how to add ThreadPool support to Synapse and I've > > looked at the Axis2 support. What I'm trying to figure out is why we > > don't reuse the java.util.Concurrent interfaces but instead create our > > own? > > > > In particular I'd like to be able to track items that are started (so > > I can stop them when Synapse closes down or needs to clean up that > > config). > > > > The obvious interface to do this is this one: > > http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ExecutorService.html > > > > Because when you submit work you get back a Future which allows me to > > cancel running work that is running. > > > > Paul > > > > -- > > Paul Fremantle > > Co-Founder and VP of Technical Sales, WSO2 > > OASIS WS-RX TC Co-chair > > > > blog: http://pzf.fremantle.org > > [EMAIL PROTECTED] > > > > "Oxygenating the Web Service Platform", www.wso2.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Davanum Srinivas :: http://davanum.wordpress.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
