Hello,
I created a XML-RPC client like this:
config = new XmlRpcClientConfigImpl();
config.setServerURL(url);
config.setReplyTimeout(0);
client = new XmlRpcClient();
client.setConfig(config);
httpClient = new org.apache.commons.httpclient.HttpClient(new org.apache.commons.httpclient.MultiThreadedHttpConnectionManager());
httpClient.getHttpConnectionManager().getParams().setConnectionTimeout(0);
factory = new XmlRpcCommonsTransportFactory(client);
factory.setHttpClient(httpClient);
client.setTransportFactory(factory);
How can I close the connection after I'm done? I tried to set the connection timeout to a small value (100) but that does not work. The connection is immediately closed after I shut down my application.