Author: bmaxwell
Date: 2011-02-23 13:26:45 -0500 (Wed, 23 Feb 2011)
New Revision: 13792
Modified:
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-5976/
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-5976/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java
Log:
[JBPAPP-5976] port Configure remoting to reuse SSL sessions JBPAPP-5826 for one off patch
Property changes on: stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-5976
___________________________________________________________________
Added: svn:mergeinfo
+ /stack/native/branches/jbossws-native-3.1.2:13631
Modified:
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-5976/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java
===================================================================
---
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-5976/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java 2011-02-23
17:35:27 UTC (rev 13791)
+++
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-5976/modules/core/src/main/java/org/jboss/ws/core/client/HTTPRemotingConnection.java 2011-02-23
18:26:45 UTC (rev 13792)
@@ -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)
{
Show replies by thread