Author: mszefler Date: Wed Jan 17 18:29:57 2007 New Revision: 497290 URL: http://svn.apache.org/viewvc?view=rev&rev=497290 Log: don't continueAsync if there is nothing to do.
Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/PartnerRoleMessageExchangeImpl.java Modified: incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/PartnerRoleMessageExchangeImpl.java URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/PartnerRoleMessageExchangeImpl.java?view=diff&rev=497290&r1=497289&r2=497290 ============================================================================== --- incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/PartnerRoleMessageExchangeImpl.java (original) +++ incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/PartnerRoleMessageExchangeImpl.java Wed Jan 17 18:29:57 2007 @@ -83,6 +83,10 @@ * */ private void continueAsync() { + // If there is no channel waiting for us, there is nothing to do. + if (getDAO().getChannel() == null) + return; + WorkEvent we = new WorkEvent(); we.setIID(getDAO().getInstance().getInstanceId()); we.setType(Type.INVOKE_RESPONSE);