getSynapseConfiguration().removeEntry(key);
Entry entry = EntryFactory.createEntry(elem,
getSynapseConfiguration().getProperties());
getSynapseConfiguration().addEntry(key, entry);
entry.setFileName(oldEntry.getFileName());
MediationPersistenceManager pm
= ServiceBusUtils.getMediationPersistenceManager(getAxisConfig());
pm.saveItem(key, ServiceBusConstants.ITEM_TYPE_ENTRY);
if (log.isDebugEnabled()) {
log.debug("Added local entry : " + key + " into the configuration");
}
}