[jboss-cvs] JBoss Messaging SVN: r2991 - trunk/src/main/org/jboss/jms/client/container.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 9 08:46:41 EDT 2007
Author: timfox
Date: 2007-08-09 08:46:41 -0400 (Thu, 09 Aug 2007)
New Revision: 2991
Modified:
trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java
Log:
Tests speedup
Modified: trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java 2007-08-09 12:34:12 UTC (rev 2990)
+++ trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java 2007-08-09 12:46:41 UTC (rev 2991)
@@ -258,13 +258,6 @@
Map failoverMap = clusteredDelegate.getFailoverMap();
- //Sanity check
- if (failoverMap.size() != delegates.length)
- {
- throw new IllegalStateException("Unable to failover. Number of servers is not the same as number of connection factories. " +
- "It is likely you haven't deployed the connection factory on all nodes in the cluster.");
- }
-
if (trace) { dumpFailoverMap(failoverMap); }
Integer failoverNodeID = (Integer)failoverMap.get(nodeID);
More information about the jboss-cvs-commits
mailing list