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, getSession(),
getLogger(), descriptor);
getSession().enqueueEvent(event);
}