com.ibm.itim.mail

Class MailManager

  • java.lang.Object
    • com.ibm.itim.mail.MailManager


  • public final class MailManager
    extends java.lang.Object
    Delivers notification messages to the specified recipients. Messages are delivered either synchronously or asynchronously. Synchronous message delivery blocks the execution until the message delivery has either succeeded or failed. Asynchronous message delivery uses jms queues or topic to hold messages before sending it to message recipients. It does not block the execution while delivering the message.
    If notification message is sent with group email topic then the post office collects similar notifications for a period of time and combine those into a single notification which is sent to the user. The post office aggregates e-mail notifications only for the following, manual activities:
     Approvals
     Requests for information (RFIs)
     Work orders
     Compliance alerts
    • Constructor Summary

      Constructors 
      Constructor and Description
      MailManager() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void notify(NotificationMessage message)
      notify delivers the given notification message.
      static void notifyAsync(NotificationMessage message)
      notifyAsync will send the notificaiton asynchronous to the caller's thread.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MailManager

        public MailManager()
    • Method Detail

      • notify

        public static void notify(NotificationMessage message)
        notify delivers the given notification message.
        Parameters:
        message - Message to delivery.
      • notifyAsync

        public static void notifyAsync(NotificationMessage message)
        notifyAsync will send the notificaiton asynchronous to the caller's thread.
        Parameters:
        message - notification to be sent.