I'm getting very close to needing to work on multi-threading the JMX SMTP service for Jboss. My approach is to steal what I can from Apache JAMES, though I've re-written a good part of it, ripped out all of the Avalon stuff (even the Avalon folks whine that JAMES uses Avalon "incorrectly", but then again they whine about that for every existing use of Avalon). Its a 70-80% rewrite, 10-20% refactor and 10-20% copy (though its mostly dumb stuff like stream subclasses).
In doing this I've ripped out the Watchdog stuff and hence the thread-management. I have my own crazy ideas for how threads should be handled, but first I want to check to see if Jboss has some tried-and-true generic thread management code lying around that I can use? Nothing jumped out at me in perusing the sources. Any pointers would be much appreciated. If enough caffeine finds me, I should have an "alpha" by JavaONE. Thanks, Andy PS. If you're bored you can read about it here: http://linuxintegrators.com/hl30/blog/general?permalink=JBoss+Mail%3A+SMTP.h tml here: http://linuxintegrators.com/hl30/blog/technology?permalink=JBoss+Mail.html here: http://linuxintegrators.com/hl30/blog/technology?permalink=JBoss+Mail%2C+the +more+I+think+about+it.html and here: http://linuxintegrators.com/hl30/blog/technology?permalink=So+quit+whining+a nd+just+do+it.html Note that my time estimates were a bit under in part because I have a different audience than "just want to use as my mail server, do as little work as possible", in part because they just were ;-) -- Andrew C. Oliver http://www.superlinksoftware.com/poi.jsp Custom enhancements and Commercial Implementation for Jakarta POI http://jakarta.apache.org/poi For Java and Excel, Got POI? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development