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.