SuperTenantCarbonContext.getCurrentContext(configurationContext).getTenantId());
if (!userRegistry.resourceExists(MessageBoxConstants.MB_MESSAGE_BOX_STORAGE_PATH)) {
userRegistry.put(MessageBoxConstants.MB_MESSAGE_BOX_STORAGE_PATH,
userRegistry.newCollection());
}
if (!userRegistry.resourceExists(MessageBoxConstants.MB_QUEUE_STORAGE_PATH)) {
userRegistry.put(MessageBoxConstants.MB_QUEUE_STORAGE_PATH,
userRegistry.newCollection());
}
} catch (RegistryException e) {
log.error("Error in setting message box storage path in tenant", e);