java.lang.Object
dk.cloudcreate.essentials.components.foundation.postgresql.NotificationFilterChain

public class NotificationFilterChain extends Object
Manages a chain of NotificationDuplicationFilter instances and uses them to extract unique keys from the Notification.getParameter() JSON content.
The key extracted from NotificationDuplicationFilter.extractDuplicationKey(JsonNode) will be used inside MultiTableChangeListener for duplication checks across all Notification's returned in one poll.
If an empty Optional is returned then the given notification won't be deduplicated.
If two or more Notification's in a given poll batch share the same duplication key, then only one of them will be published to the listeners registered with the MultiTableChangeListener