try {
inboxManager = (InboxManager) this.manager.lookup(InboxManager.ROLE);
Inbox inbox = inboxManager.getInbox(user);
inbox.add(message);
} catch (ServiceException e) {
throw new NotificationException(e);
} finally {
if (inboxManager != null) {
this.manager.release(inboxManager);
}
}