String msg = null;
obj = sharedQueue.take();
msg = (String) obj;
ConfigHolder data = ConfigHolder.getInstance();
Node topologyNode = NodeBuilder.buildNode(msg);
List<ServiceConfiguration> currentServiceConfigs = lbconfig.createServicesConfig(topologyNode);
data.setServiceConfigs(lbconfig.getServiceNameToServiceConfigurations());
generateGroupMgtAgents(lbconfig);
resetGroupMgtAgents(lbconfig, currentServiceConfigs);
} catch (InterruptedException ignore) {
}