public class SuppressAndTrackAggregate extends GenericMailet
TrackIncomingNotification and NotificationSuppressor mailets. To properly handle notification suppression, notifications cannot
be tracked before determine that suppression state. However, suppressed messages still should (must for MDN processed) be tracked. This creates a catch 22 or
chicken and egg condition. The notification suppressor will eat messages if it is executed first and not allow some notifications to be tracked. If the tracker is first,
then messages that should not be suppressed may end up being suppressed.
The class aggregates the two concepts so that they happen pseudo atomically.
| Constructor and Description |
|---|
SuppressAndTrackAggregate() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(MailetConfig newConfig) |
void |
service(Mail mail) |
destroy, getBooleanParameter, getInitParameter, getInitParameter, getInitParameter, getInitParameterAsOptional, getInitParameterNames, getMailetConfig, getMailetContext, getMailetInfo, getMailetName, init, log, logpublic void init(MailetConfig newConfig) throws javax.mail.MessagingException
init in interface Mailetinit in class GenericMailetjavax.mail.MessagingExceptionpublic void service(Mail mail) throws javax.mail.MessagingException
service in interface Mailetservice in class GenericMailetjavax.mail.MessagingExceptionCopyright © 2010–2021 NHIN Direct. All rights reserved.