Text subject = new Text(MESSAGE_SUBJECT, subjectParams);
String userMessage = getParameterAsString(PARAM_USER_NOTIFICATION_MESSAGE, "");
Text[] params = { new Text(url, false), new Text(userMessage, false) };
Text body = new Text(MESSAGE_DOCUMENT_PUBLISHED, params);
Message message = new Message(subject, body, sender, recipients);
NotificationEventDescriptor descriptor = new NotificationEventDescriptor(message);
RepositoryEvent event = RepositoryEventFactory.createEvent(this.manager, liveVersion,
getLogger(), descriptor);
getSession().enqueueEvent(event);