[jboss-user] [JBoss jBPM] - Re: How to implent Timer and scheduler in JBPM.
cpob
do-not-reply at jboss.com
Tue Aug 8 09:08:39 EDT 2006
So, for clarity's sake, you want to have the timer create a new task every n days? So, it would just sit on the same node and generate tasks every so often? Or it would progress through the graph?
Implementing timers w/ the included scheduler is very simple. There are JUnit tests with the source that show how to do this. Section 12.1 in the user guide also discusses timers.
If you're doing a simple "something needs to be done every so often" and not worry about a graph, you might just want to look at Quartz, a java scheduler. You might not need the flow of jBPM.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963796#3963796
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963796
More information about the jboss-user
mailing list