log.info("Generating notifications for {}", currentRequest.getType());
// ---- translate event to notifications ----
NotificationTranslator translator = translators.get(currentRequest.getType());
if (translator == null)
{
// exit if notification request type is disabled
return Boolean.FALSE;
}
NotificationBatch batch = translator.translate(currentRequest);
if (batch == null || batch.getRecipients().isEmpty())
{
return Boolean.TRUE;
}