Author: bmaxwell
Date: 2011-01-31 12:58:25 -0500 (Mon, 31 Jan 2011)
New Revision: 13657
Modified:
stack/native/tags/jbossws-native-3.1.2.SP3_JBPAPP-5830/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java
Log:
[JBPAPP-5830] JBossWS - Configure remoting to reuse SSL sessions
Modified:
stack/native/tags/jbossws-native-3.1.2.SP3_JBPAPP-5830/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java
===================================================================
---
stack/native/tags/jbossws-native-3.1.2.SP3_JBPAPP-5830/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java 2011-01-31
16:09:03 UTC (rev 13656)
+++
stack/native/tags/jbossws-native-3.1.2.SP3_JBPAPP-5830/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java 2011-01-31
17:58:25 UTC (rev 13657)
@@ -73,6 +73,8 @@
{
// provide logging
private static Logger log = Logger.getLogger(HTTPRemotingConnection.class);
+ private static final String REMOTING_DESTRUCTION_DELAY =
+ System.getProperty("org.jboss.ws.client.remoting.destruction.delay",
"5000");
private Map<String, Object> clientConfig = new HashMap<String, Object>();
@@ -200,6 +202,7 @@
}
locator = new InvokerLocator(targetAddress);
+ locator.getParameters().put(Client.INVOKER_DESTRUCTION_DELAY,
REMOTING_DESTRUCTION_DELAY); // [JBPAPP-5826] reuse SSL sessions
}
catch (MalformedURLException e)
{