[jboss-user] [JBoss jBPM] - Re: How to cancel a Timer dynamically?
kukeltje
do-not-reply at jboss.com
Wed Feb 28 15:24:04 EST 2007
Locating it is hard. You have to have some info on the timers, the name of the timer and the token it belongs to. You can then do
executionContext.getJbpmContext().getJobSession().cancelTimersByName(name, token)
If you don't have the name and token, you have to write your own hibernate query. See the implementation in getJobSession. But still you have to base your query on something. The name and token make it unique so it is probably hard to get it in another way
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023941#4023941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023941
More information about the jboss-user
mailing list