[jboss-user] [jBPM] - Re: waitTillDone

Maciej Swiderski do-not-reply at jboss.com
Tue Jul 9 04:14:41 EDT 2013

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: waitTillDone"

To view the discussion, visit: https://community.jboss.org/message/827043#827043

waitTillDone is usually used in unit testing to wait for response from task server as the communication is done asynchronously so it makes sense to wait for it until proceeding with next steps of the test. It production environment it should not be used as it completely breaks the concept of asynchronous integration making it synchronous.

Replacing it with that looks introduces risk of infinite loop in case something goes wrong that's why waitTillDon accept argument of how long it should wait for the response.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130709/61257cd6/attachment-0001.html 

More information about the jboss-user mailing list