diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-13 17:42:02 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-13 17:42:02 +0000 |
commit | 1cb99031f5d03dd92c7a6c96013c01d56fc6a3a8 (patch) | |
tree | 24d63c21f00891d5acade67da1b6a879b2312267 | |
parent | 4dbf6ae8276fe0da65ed9073d0870a9ba840558e (diff) |
Fixing invalid connection parameter for http client connection manager
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824858 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java b/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java index 2a23ff4960..cda6153aa8 100644 --- a/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java +++ b/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java @@ -19,7 +19,6 @@ package org.apache.tuscany.sca.binding.jsonrpc.provider; -import org.apache.commons.httpclient.params.HttpConnectionManagerParams; import org.apache.http.HttpHost; import org.apache.http.client.HttpClient; import org.apache.http.conn.ClientConnectionManager; @@ -69,7 +68,7 @@ public class JSONRPCReferenceBindingProvider implements ReferenceBindingProvider // Create an HTTP client HttpParams defaultParameters = new BasicHttpParams(); - defaultParameters.setIntParameter(HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, 10); + //defaultParameters.setIntParameter(HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, 10); HttpProtocolParams.setContentCharset(defaultParameters, HTTP.UTF_8); HttpConnectionParams.setConnectionTimeout(defaultParameters, 60000); HttpConnectionParams.setSoTimeout(defaultParameters, 60000); |