[jboss-svn-commits] JBL Code SVN: r14510 - labs/jbossesb/trunk/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Aug 23 22:12:53 EDT 2007


Author: burrsutter
Date: 2007-08-23 22:12:53 -0400 (Thu, 23 Aug 2007)
New Revision: 14510

Modified:
   labs/jbossesb/trunk/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java
Log:
corrected the _token.signal line that caused locked token errors. It now uses the "leave" method instead

Modified: labs/jbossesb/trunk/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java
===================================================================
--- labs/jbossesb/trunk/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java	2007-08-24 02:11:48 UTC (rev 14509)
+++ labs/jbossesb/trunk/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java	2007-08-24 02:12:53 UTC (rev 14510)
@@ -124,7 +124,8 @@
     	if (null != response) {
     	    varsFromResponse(response);
             if (_token.getNode()!=null) {
-                _token.signal(); // this is required since the response is sync 
+                // _token.signal(); // this is required since the response is sync
+            	executionContext.getNode().leave(executionContext);
             }
         } else {
             throw new MessageDeliverException("The response from jBPM should not be null");




More information about the jboss-svn-commits mailing list