I'm sure not all of this is necessary, but I threw it all at it, and it worked.
Whenever I trimmed anything, it didn't. This can't be right, since it seems to
create a second timer, but I took care of that in the handler.
timer = new Timer(pi.getRootToken());
timer.setGraphElement(pi.get
make sure that the JobExecutorThread is started
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129563#4129563
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129563
___
jboss-u
I am not saying that this is right, but I have a process with a timer, and it
fires once, so I attach a handler to it that transitions back to the same node
if the condition is not met, so then the timer gets set again.
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
Yes, I have tried this too as last option :-)
Hope somebody can shed some light.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129033#4129033
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129033
_
I have the same problem, and I use junit for testing. and I use :
final int SECONDS_TO_WAIT = 3; //30 seconds
try {
Thread.sleep(SECONDS_TO_WAIT);
} catch (InterruptedException e) {
e.printStackTrace();
}
to simulate the waiting period.