if (configurationMap != null) {
// update the distributed map
Properties properties = configurationMap.remove(pid);
// broadcast the cluster event
RemoteConfigurationEvent event = new RemoteConfigurationEvent(pid);
event.setSourceGroup(group);
event.setType(ConfigurationEvent.CM_DELETED);
eventProducer.produce(event);
} else {
throw new IllegalStateException("Configuration distributed map not found for cluster group " + groupName);
}
}