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/08/08 17:40:36 UTC
svn commit: r429695 -
/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
Author: mszefler
Date: Tue Aug 8 08:40:36 2006
New Revision: 429695
URL: http://svn.apache.org/viewvc?rev=429695&view=rev
Log:
ODE-24 Fail outstanding message exchanges if process terminates.
Modified:
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java?rev=429695&r1=429694&r2=429695&view=diff
==============================================================================
--- incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java (original)
+++ incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java Tue Aug 8 08:40:36 2006
@@ -709,8 +709,9 @@
_dao.setState(ProcessState.STATE_TERMINATED);
evt.setNewState(ProcessState.STATE_TERMINATED);
sendEvent(evt);
-
sendEvent(new ProcessTerminationEvent());
+
+ failOutstandingMessageExchanges();
}
public void registerTimer(TimerResponseChannel timerChannel, Date timeToFire) {