You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ms...@apache.org on 2006/11/04 02:51:10 UTC
svn commit: r471094 -
/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
Author: mszefler
Date: Fri Nov 3 17:51:10 2006
New Revision: 471094
URL: http://svn.apache.org/viewvc?view=rev&rev=471094
Log:
Forgot to check in. Timers getting lost problem.
Modified:
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java?view=diff&rev=471094&r1=471093&r2=471094
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java Fri Nov 3 17:51:10 2006
@@ -236,11 +236,10 @@
// We're done with the main work, if we were terminated, we will
// need to load the termination handler:
if (_terminated) {
-// throw new UnsupportedOperationException("termination handler todo ");
- }
-
- // else-if we have a fault, we will need to load the fault handler.
- else if (_fault != null) {
+ __log.debug("Scope: " + _oscope + " was terminated.");
+ // ??? Should we forward
+ _self.parent.completed(null,_compensations);
+ } else if (_fault != null) {
sendEvent(new ScopeFaultEvent(_fault.getFaultName(), _fault.getFaultLineNo(),_fault.getExplanation()));