[jboss-user] [JBoss jBPM] - Re: understand asynchronous continuations

tom.baeyens@jboss.com do-not-reply at jboss.com
Thu Nov 9 01:46:32 EST 2006

when invoking the signal method, the process will start executing and this method only returns after the process has entered a new wait state.  potentially this means that many nodes are executed in the mean time.  

all of this is inside 1 transaction of the caller of the signal method.

asynchronous continuations lets you execute the process till a certain point (the node marked with async=true) in the caller's transaction.  then jbpm will take care of resuming the execution in a separate transaction.  this involves sending an asynchronous message in the caller's transaction to a job executor.  the job executor will start a new tx and resume the execution starting by execting the node with async=true

let us know if this explanation is better then in the user guide, then we update it :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984410#3984410

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984410

More information about the jboss-user mailing list