Author: ron.sigal(a)jboss.com
Date: 2009-03-23 21:13:38 -0400 (Mon, 23 Mar 2009)
New Revision: 4892
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/ConnectionValidator.java
Log:
JBREM-1082: Removed "numberOfRetries" from createPingConfig(), and gets
"NumberOfCallRetries" from metadata in createPingConfig().
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/ConnectionValidator.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/ConnectionValidator.java 2009-03-21
05:41:35 UTC (rev 4891)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/ConnectionValidator.java 2009-03-24
01:13:38 UTC (rev 4892)
@@ -179,12 +179,6 @@
{
localConfig.put("NumberOfCallRetries", o);
}
-
- o = config.get("NumberOfRetries");
- if (o != null)
- {
- localConfig.put("NumberOfRetries", o);
- }
}
if (metadata != null)
@@ -205,6 +199,11 @@
". Using default value " + DEFAULT_PING_TIMEOUT);
}
}
+ o = config.get("NumberOfCallRetries");
+ if (o != null)
+ {
+ localConfig.put("NumberOfCallRetries", o);
+ }
}
if (localConfig.get(ServerInvoker.TIMEOUT) == null)
Show replies by date