[jboss-user] [JBoss jBPM] - Re: How to stop the SchedulerThread

brado do-not-reply at jboss.com
Thu Jan 25 13:47:13 EST 2007

Just wanted to check ... have you had good success with this approach? My basic need is to create some external management of this Scheduler, i.e. be able to change the polling interval, and stop / restart the Scheduler. 

I was wondering if you have found the means below as effective to stop / start the Scheduler. I haven't gotten a chance to tear the source code apart, so I don't know if the SchedulerThread itself is acting as a dispatcher for starting other threads to handle tasks, but if so, I would be interested in how a stop on the SchedulerThread itself interacts with these child worker threads, and if all of them have to stop for the SchedulerThread to stop, or if the SchedulerThread stops immediately, but these workers keep running. 

Again, forgive me if I've just speculated on a scenario which doesn't exist, I just haven't been able to read the source code yet.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006491#4006491

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006491

More information about the jboss-user mailing list