Avoid Read/Write Deadlocks in Hibernate, Ported from trunk commit.
https://github.com/apache/ode/commit/19b0786f9ec8928fca956597326004196bf61eaa


Project: http://git-wip-us.apache.org/repos/asf/ode/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/ba61210b
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/ba61210b
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/ba61210b

Branch: refs/heads/ode-1.3.x
Commit: ba61210b426b4cb12596a46ad368f3a25bff6794
Parents: 566d3d1
Author: sathwik <[email protected]>
Authored: Wed Jan 6 13:39:10 2016 +0530
Committer: sathwik <[email protected]>
Committed: Wed Jan 6 13:39:10 2016 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/ode/bpel/engine/BpelProcess.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/ba61210b/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
----------------------------------------------------------------------
diff --git 
a/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java 
b/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
index afe669a..b5cef27 100644
--- a/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
+++ b/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
@@ -265,9 +265,9 @@ 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();
-        }
+//        if 
(mex.getPattern().equals(MessageExchange.MessageExchangePattern.REQUEST_ONLY) 
&& routed && getCleanupCategories(false).contains(CLEANUP_CATEGORY.MESSAGES)) {
+//            mex.release();
+//        }
 
         return routed;
     }

Reply via email to