[jboss-dev-forums] [Design of JBoss jBPM] - Re: Failure handling

estaub do-not-reply at jboss.com
Wed Aug 1 14:46:49 EDT 2007


Bill,

>> Then the business process would be in an inconsistent state, wouldn't it?

Yes.

I suppose yet another option is to commit the transaction that entered the node, then start a new transaction for all  db work thenceforth (including the actionhandler), both JBPM and not.  If, when the actionhandler returns, a rollback has occurred, a third transaction could be started to do exception handling and any subsequent behavior.  Incidentally, this is  another area where the current recursive-traversal model makes correct implementation difficult.

-Ed Staub


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

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



More information about the jboss-dev-forums mailing list