[jboss-user] [jBPM] - Re: Using Timers to Interrupt Synchronous Process in jBPM5
dme
do-not-reply at jboss.com
Fri Oct 28 14:54:27 EDT 2011
dme [http://community.jboss.org/people/dme] created the discussion
"Re: Using Timers to Interrupt Synchronous Process in jBPM5"
To view the discussion, visit: http://community.jboss.org/message/634099#634099
--------------------------------------------------------------
I tried a couple of scenarios to test how timeouts are handled in jBPM5.
- In the first test I added a delay timer (of 1 ms) between 2 sync process calls, once the first process is done, the boundary timer is invoked (probably because there is a delay timer) and timeout is handled correctly
- In the second test I have 3 sync processes in the sub-process. In this case after the first process goes to sleep, the second process is started in another thread which also goes to sleep when the 3rd process is started in a third thread, eventually all 3 processes complete, but the boundary timer is never fired. I was expecting the boundary timer to fire and interrput the processing. Why is the boundary timer not getting fired?
Can someone please help me understand how boundary timers are implemented in jBPM5?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/634099#634099]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111028/2de34b9b/attachment.html
More information about the jboss-user
mailing list