This content has been marked as final.
Show 3 replies
-
1. Re: jBPM v3 - short transactions
jbarrez Jan 4, 2010 7:31 AM (in response to jmiedzinski)An option could be to make all the automatic steps async. That way, they'll all be done in small, separate transaction.
Consequence is that you're losing the synchronous invocation (ie you don't know where your process is after the return of the invocation).
-
2. Re: jBPM v3 - short transactions
jmiedzinski Jan 4, 2010 7:39 AM (in response to jbarrez)jbarrez wrote:
Consequence is that you're losing the synchronous invocation (ie you don't know where your process is after the return of the invocation).
You mean that I'm loosing control after signal and let the process running as far as possible ? Or I'm missing something ?
-
3. Re: jBPM v3 - short transactions
jbarrez Jan 11, 2010 5:49 AM (in response to jmiedzinski)No, what I meant was that when you do a signal() operation, the method will return immediately. But you don't know where exactly your process will be next time you do an operation, since the process is handled asynchronously (in a separate thread)