try
{
context.put( CONTEXT_PROJECT_NOTIFIER, projectNotifier );
Notifier notifier = notifierManager.getNotifier( notifierType );
Set recipients = recipientSource.getRecipients( String.valueOf( projectNotifier.getId() ), messageId,
configuration, context );
notifier.sendNotification( messageId, recipients, configuration, context );
}
catch ( NotificationException e )
{
getLogger().error( "Error while trying to use the " + notifierType + " notifier.", e );
}