[rhmessaging-commits] rhmessaging commits: r4530 - store/trunk/cpp/lib.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Jan 10 13:49:24 EST 2013


Author: kpvdr
Date: 2013-01-10 13:49:24 -0500 (Thu, 10 Jan 2013)
New Revision: 4530

Modified:
   store/trunk/cpp/lib/StorePlugin.cpp
Log:
Fixed a compile problem which resulted from broker checkin r.1424125 which removed broker method isInCluster().

Modified: store/trunk/cpp/lib/StorePlugin.cpp
===================================================================
--- store/trunk/cpp/lib/StorePlugin.cpp	2013-01-10 07:00:50 UTC (rev 4529)
+++ store/trunk/cpp/lib/StorePlugin.cpp	2013-01-10 18:49:24 UTC (rev 4530)
@@ -67,12 +67,8 @@
         if (!broker) return;
         if (!store) return;
         // Not done in earlyInitialize as the Broker::isInCluster test won't work there.
-        if (broker->isInCluster()) {
-            QPID_LOG(info, "Disabling management instrumentation for the store in a cluster.");
-        } else {
-            QPID_LOG(info, "Enabling management instrumentation for the store.");
-            store->initManagement();
-        }
+        QPID_LOG(info, "Enabling management instrumentation for the store.");
+        store->initManagement();
     }
 
     void finalize()



More information about the rhmessaging-commits mailing list