//Currently module policies (default) are used to find the storage manager. These cant be overriden
//TODO change this so that different services can hv different storage managers.
String storageManagerClassStr = getDefaultPropertyBean(context.getAxisConfiguration()).getInMemoryStorageManagerClass();
inMemoryStorageManager = getStorageManagerInstance(storageManagerClassStr,context);
parameter = new Parameter(Sandesha2Constants.INMEMORY_STORAGE_MANAGER, inMemoryStorageManager);
config.addParameter(parameter);
} catch(AxisFault e) {
String message = SandeshaMessageHelper.getMessage(
SandeshaMessageKeys.cannotInitInMemoryStorageManager,
e.toString());
throw new SandeshaException(message, e);