[hornetq-commits] JBoss hornetq SVN: r10060 - trunk/src/main/org/hornetq/core/server/cluster/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Dec 20 06:50:08 EST 2010


Author: ataylor
Date: 2010-12-20 06:50:07 -0500 (Mon, 20 Dec 2010)
New Revision: 10060

Modified:
   trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
Log:
fix warning on bridge

Modified: trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java	2010-12-20 05:40:40 UTC (rev 10059)
+++ trunk/src/main/org/hornetq/core/server/cluster/impl/ClusterConnectionImpl.java	2010-12-20 11:50:07 UTC (rev 10060)
@@ -442,6 +442,11 @@
       {
          return;
       }
+      /*we dont create bridges to backups*/
+      if(connectorPair.a == null)
+      {
+         return;
+      }
 
       try
       {



More information about the hornetq-commits mailing list