directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1575822 - /directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
Date Mon, 10 Mar 2014 04:50:08 GMT
Author: kayyagari
Date: Mon Mar 10 04:50:07 2014
New Revision: 1575822

URL: http://svn.apache.org/r1575822
Log:
do not activate disabled replication consumers (DIRSERVER-1962)

Modified:
    directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java

Modified: directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java?rev=1575822&r1=1575821&r2=1575822&view=diff
==============================================================================
--- directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
(original)
+++ directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/builder/ServiceBuilder.java
Mon Mar 10 04:50:07 2014
@@ -1103,6 +1103,11 @@ public class ServiceBuilder
 
         for ( ReplConsumerBean replBean : replConsumerBeans )
         {
+            if ( replBean.isDisabled() )
+            {
+                continue;
+            }
+            
             String className = replBean.getReplConsumerImpl();
 
             ReplicationConsumer consumer = null;



Mime
View raw message