[jboss-user] [jBPM Users] - How to start JobExecutor with jBPM 4 + Spring
unsavory
do-not-reply at jboss.com
Mon Aug 24 21:58:25 EDT 2009
Does anyone have any idea how to start the JobExecutor? I have configured the JobExecutor in the jbpm.cfg.xml file and it is working. However, it only seems to run when an asynchronous activity is started (ie: a task with a timeout in it is created).
According to the documentation I just need to add this line to my jbpm.cfg.xml:
<job-executor threads="4" idle="15000" idle-max="60000" lock-millis="3600000" />
I'm concerned because the JobExecutor does not seem to run when the server is started such as in a server restart. Therefore if I had old jobs from before the server was shut down, they would not run.
I'm running jBPM 4 in a Spring container if that matters.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251344#4251344
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251344
More information about the jboss-user
mailing list