Interface NotificationService


public interface NotificationService
  • Field Details

    • NOTIFICATION_PROCESSED_EVENT

      static final String NOTIFICATION_PROCESSED_EVENT
      Event broadcast for every notification entering process(NotificationInfo), before and independently from the channel dispatch, carrying the NotificationInfo as data. The digest capture listens to it; a listener failure never affects the notification itself.
      See Also:
  • Method Details

    • process

      void process(NotificationInfo notification) throws Exception
      Processes information when a notification message is created.
      Parameters:
      notification - The notification message.
      Throws:
      Exception
    • process

      void process(Collection<NotificationInfo> notifications) throws Exception
      Processes information when a list of notification messages are created.
      Parameters:
      notifications - The list of notification messages.
      Throws:
      Exception