if ((parameters.getStorageManager() != null)
&& (parameters.getStorageManager().equals(Sandesha2Constants.PERMANENT_STORAGE_MANAGER))){
sandeshaPolicyBean.setPermanentStorageManagerClass(PersistentStorageManager.class.getName());
// creating the persistace storage.
PersistentStorageManager persistentStorageManager = new PersistentStorageManager(configurationContext);
persistentStorageManager.initStorage(sandeshaModule);
Parameter permenentStorage = axisConfiguration.getParameter(Sandesha2Constants.PERMANENT_STORAGE_MANAGER);
if (permenentStorage != null) {
axisConfiguration.removeParameter(permenentStorage);
}