PropertyConfigurator config = new PropertyConfigurator(); // configure the cache through injection
// read in the replSync xml. Here we use synchronous mode replication.
config.configure(tree, "META-INF/replSync-service.xml");
// config.configure(tree, "META-INF/local-service.xml");
tree.setClusterName(name); // We can set a different cluster group.
tree.start(); // kick start the cache
return tree;
}
/**
* Populate the propagation tree.