if (contextManager != null) { // If context replication is enabled, get the latest state from a neighbour
contextManager.setSender(sender);
channelListener.setContextManager(contextManager);
getInitializationMessage(members, sender, new GetStateCommand());
ClusteringContextListener contextListener = new ClusteringContextListener(sender);
configurationContext.addContextListener(contextListener);
}
configurationContext.
setNonReplicableProperty(ClusteringConstants.CLUSTER_INITIALIZED, "true");
configurationContext.removeProperty(ClusteringConstants.BLOCK_ALL_REQUESTS);