[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads
do-not-reply at jboss.com
Fri Mar 14 08:20:11 EDT 2008
The JobExecutor is there to, like it's name says, execute Jobs.
Such a Job is for example a Timer (Timer is a subclass of Job).
If you look into the code of the JobExecutor, you will see that it queries the database for jobs whow duedate is passed, which means that this job should be executed. The JobExecutor will then delegate to the execution of the Job.
The JobExecutor which you can find in the distrubution is a normal Java thread, which is checking the database for available Jobs and executing them at regular time intervals (configurable in config)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136633#4136633
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136633
More information about the jboss-user