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

estaub do-not-reply at jboss.com
Wed Aug 1 08:34:38 EDT 2007


Bill,

In your original scenario, I'm picturing the rollback as originating in an actionhandler performing a non-JBPM-related action.  For these cases, I'm dealing with the transactional difficulties by isolating them in their own transaction.  Once this is done, exception handlers should be usable.

You should probably also be aware that JBPM uses recursive execution of the graph.  I mean that, when a node actionhandler calls leaveNode() or, less properly, signal(), the downstream execution of subsequent nodes happens within that method call; the execution of later nodes happens within the execution scope of the first actionhandler.  This can lead to surprising behavior in error conditions, at least for me.  I have a fix for this, but I'm not sure that anyone else believes it's a problem!

-Ed Staub


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

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



More information about the jboss-dev-forums mailing list