You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by wo...@apache.org on 2009/11/14 18:41:53 UTC

svn commit: r836223 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/ServiceClient.java

Author: woodroy
Date: Sat Nov 14 17:41:52 2009
New Revision: 836223

URL: http://svn.apache.org/viewvc?rev=836223&view=rev
Log:
Revert to using intended default value of AUTO_OPERATION_CLEANUP property

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/ServiceClient.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/ServiceClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/ServiceClient.java?rev=836223&r1=836222&r2=836223&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/ServiceClient.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/client/ServiceClient.java Sat Nov 14 17:41:52 2009
@@ -62,7 +62,8 @@
 
 /**
  * Client access to a service. Each instance of this class is associated with a particular {@link
- * org.apache.axis2.description.AxisService}, and the methods support operations using that service.
+ * org.apache.axis2.description.AxisService}, and the methods support operations using that service. Note that
+ * these instances are not intended to be thread-safe.
  * {@link Options} instances are used to configure various aspects of the service access.
  */
 public class ServiceClient {
@@ -660,7 +661,7 @@
     public OperationClient createClient(QName operationQName) throws AxisFault {
         // If we're configured to do so, clean up the last OperationContext (thus
         // releasing its resources) each time we create a new one.
-        if (JavaUtils.isTrue(getOptions().getProperty(AUTO_OPERATION_CLEANUP), false) &&
+        if (JavaUtils.isTrue(getOptions().getProperty(AUTO_OPERATION_CLEANUP), true) &&
                 !getOptions().isUseSeparateListener()) {
             cleanupTransport();
         }