Class MatchAllFilter

    • Constructor Detail

      • MatchAllFilter

        public MatchAllFilter()
    • Method Detail

      • delayBeforeExpiration

        public long delayBeforeExpiration​(ACLMessage msg)
        Match all possible messages
        Specified by:
        delayBeforeExpiration in interface PersistentDeliveryFilter
        Parameters:
        msg - The undelivered ACL message, that is to be tested against this filter and possibly buffered.
        Returns:
        The delay, in milliseconds, within which the message is to be delivered. If the message is still undelivered after that delay, the delivery process aborts and a failure message is sent back to the message originator. The specially defined NOW and NEVER constants can be used to request immediate abort or message storage for unlimited time.