Author: rr
Date: Thu Jun 24 16:38:20 2010
New Revision: 957616

URL: http://svn.apache.org/viewvc?rev=957616&view=rev
Log:
Avoid Read/Write Deadlocks in Hibernate

Modified:
    
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java

Modified: 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java?rev=957616&r1=957615&r2=957616&view=diff
==============================================================================
--- 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
 (original)
+++ 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
 Thu Jun 24 16:38:20 2010
@@ -265,9 +265,10 @@ public class BpelProcess {
 
         // For a one way, once the engine is done, the mex can be safely 
released.
         // Sean: not really, if route is not found, we cannot delete the mex 
yet
-        if 
(mex.getPattern().equals(MessageExchange.MessageExchangePattern.REQUEST_ONLY) 
&& routed && getCleanupCategories(false).contains(CLEANUP_CATEGORY.MESSAGES)) {
-            mex.release();
-        }
+        // Rafal: We don't do cleanup here, look at PXEI-711
+//        if 
(mex.getPattern().equals(MessageExchange.MessageExchangePattern.REQUEST_ONLY) 
&& routed && getCleanupCategories(false).contains(CLEANUP_CATEGORY.MESSAGES)) {
+//            mex.release();
+//        }
         return routed;
     }
 


Reply via email to