[jboss-user] [jBPM] New message: "Re: Exception handling in JBPM4 ?"

Maciej Swiderski do-not-reply at jboss.com
Mon Feb 22 12:28:13 EST 2010

User development,

A new message was posted in the thread "Exception handling in JBPM4 ?":


Author  : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej

What about following scenario:
- there are 4 nodes (regardless of type) that executed as part one transaction.
- some of the nodes modify some external systems via different protocols
- no exceptions are thrown from nodes
- runtime exception is thrown due to some persistence issues
Transaction will be rolled back but changes made to external system are not rolled back since they were not part of the transcation (for example web service call).
Have you put any thoughts into that? I was wondering if some sort of compensation mechanism could be introduces to the execution where nodes that take part in transaction can inform runtime engine what to invoke in case of roll backs. This could give kind of undo operation for already finished nodes and should not cause any problems when process will go thru them again.
What's your opinion about it? Does it sound reasonable?


To reply to this message visit the message page: http://community.jboss.org/message/527675#527675

More information about the jboss-user mailing list