tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r918640 - /openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/ConnectionManager.java
Date Wed, 03 Mar 2010 19:18:19 GMT
Author: dblevins
Date: Wed Mar  3 19:18:18 2010
New Revision: 918640

URL: http://svn.apache.org/viewvc?rev=918640&view=rev
Log:
Added "round-robin" as an alias for the "roundrobin" ConnectionStrategy

Modified:
    openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/ConnectionManager.java

Modified: openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/ConnectionManager.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/ConnectionManager.java?rev=918640&r1=918639&r2=918640&view=diff
==============================================================================
--- openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/ConnectionManager.java
(original)
+++ openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/ConnectionManager.java
Wed Mar  3 19:18:18 2010
@@ -41,6 +41,7 @@
         strategies.register("sticky", new StickyConnectionStrategy());
         strategies.register("random", new RandomConnectionStrategy());
         strategies.register("roundrobin", new RoundRobinConnectionStrategy());
+        strategies.register("round-robin", strategies.get("roundrobin"));
         strategies.register("default", strategies.get("sticky"));
     }
 



Mime
View raw message