[jboss-cvs] JBoss Messaging SVN: r1932 - trunk/src/main/org/jboss/jms/client/container.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 9 14:46:19 EST 2007


Author: clebert.suconic at jboss.com
Date: 2007-01-09 14:46:18 -0500 (Tue, 09 Jan 2007)
New Revision: 1932

Modified:
   trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java
Log:
oops...

Modified: trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java	2007-01-09 19:40:14 UTC (rev 1931)
+++ trunk/src/main/org/jboss/jms/client/container/ClusteringAspect.java	2007-01-09 19:46:18 UTC (rev 1932)
@@ -122,6 +122,9 @@
             log.debug(this + " got local connection delegate " + cd);
 
             ConnectionState state = (ConnectionState)((DelegateSupport)cd).getState();
+
+            state.configureFailoverCommandCenter();
+
             FailoverCommandCenter fcc = state.getFailoverCommandCenter();
 
             // add a connection listener to detect failure; the consolidated remoting connection
@@ -129,8 +132,6 @@
             state.getRemotingConnection().getConnectionListener().
                addDelegateListener(new ConnectionFailureListener(fcc, state.getRemotingConnection()));
 
-            state.configureFailoverCommandCenter();
-
             log.debug(this + " installed failure listener on " + cd);
 
             // also cache the username and the password into state, useful in case




More information about the jboss-cvs-commits mailing list