Removing the redundant configuration reader in the distributed datastore.
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / main / java / org / opendaylight / controller / config / yang / config / remote_rpc_connector / RemoteRPCBrokerModule.java
index 5d231417fb7058c0b3f7c0be10d927c8d48ce46b..8bf768d6be4608cbd209b01623a0a4a2c8c2dac4 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.config.yang.config.remote_rpc_connector;
 
-import org.opendaylight.controller.cluster.common.actor.DefaultAkkaConfigurationReader;
+import org.opendaylight.controller.cluster.common.actor.FileAkkaConfigurationReader;
 import org.opendaylight.controller.remote.rpc.RemoteRpcProviderConfig;
 import org.opendaylight.controller.remote.rpc.RemoteRpcProviderFactory;
 import org.opendaylight.controller.sal.core.api.Broker;
@@ -33,7 +33,7 @@ public class RemoteRPCBrokerModule extends org.opendaylight.controller.config.ya
     RemoteRpcProviderConfig config = new RemoteRpcProviderConfig.Builder(getActorSystemName())
                               .metricCaptureEnabled(getEnableMetricCapture())
                               .mailboxCapacity(getBoundedMailboxCapacity())
-                              .withConfigReader(new DefaultAkkaConfigurationReader())
+                              .withConfigReader(new FileAkkaConfigurationReader())
                               .build();
 
     return RemoteRpcProviderFactory.createInstance(broker, bundleContext, config);