You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2008/02/07 10:41:02 UTC

svn commit: r619330 - /servicemix/smx3/trunk/deployables/serviceengines/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/XsltEndpoint.java

Author: gertv
Date: Thu Feb  7 01:41:01 2008
New Revision: 619330

URL: http://svn.apache.org/viewvc?rev=619330&view=rev
Log:
SM-1184 - Data loss due to random exceptions in a saxon service unit

Modified:
    servicemix/smx3/trunk/deployables/serviceengines/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/XsltEndpoint.java

Modified: servicemix/smx3/trunk/deployables/serviceengines/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/XsltEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/deployables/serviceengines/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/XsltEndpoint.java?rev=619330&r1=619329&r2=619330&view=diff
==============================================================================
--- servicemix/smx3/trunk/deployables/serviceengines/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/XsltEndpoint.java (original)
+++ servicemix/smx3/trunk/deployables/serviceengines/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/XsltEndpoint.java Thu Feb  7 01:41:01 2008
@@ -142,7 +142,7 @@
         }
     }
 
-    public Templates getTemplates() throws Exception {
+    public synchronized Templates getTemplates() throws Exception {
         if (templates == null) {
             templates = createTemplates();
         }