[jboss-user] [JBoss jBPM] - Timer repetition problem

rodosa do-not-reply at jboss.com
Sun Jan 11 20:26:28 EST 2009


Hello, I've a doubt. I would loke to build a timer. So I made a process definition and to try it I use a junit class. With the following code the action of the timer is executing:


  | Token token=instance.getRootToken();
  | CreateTimerAction createTimerAction = (CreateTimerAction) event.getActions().get(0);
  | Action timerAction = createTimerAction.getTimerAction();
  | ExecutionContext ex=new ExecutionContext(token);
  | timerAction.execute(ex);
  | 

I would like that my timer was executed each 10 seconds. But It is only executed once. How could I get timer were executed each 10 seconds??


Thanks,

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

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



More information about the jboss-user mailing list