Interface PersistenceMessageAckedHandler

    • Method Detail

      • afterSuccessfulAcknowledgement

        void afterSuccessfulAcknowledgement​(@NonNull
                                            Object nativeId,
                                            @NonNull
                                            NotificationStateAware notificationStateAware,
                                            @NonNull
                                            NotificationStateRepository repository)
        A hook point intended to allow implementations to perform some behavior after a PersistenceMessage has been successfully sent and the NotificationState has been marked as acknowledged.

        Should not directly mutate the given notificationStateAware instance.

        Parameters:
        nativeId - the native id of the notificationStateAware entity
        notificationStateAware - the containing entity of the notification state for which the persistence message was successfully sent
        repository - the repository corresponding to the notificationStateAware entity
      • getOrder

        default int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered