Interface MessageSelector

    • Method Detail

      • accept

        boolean accept​(Message message)
        Checks weather this selector should accept given message or not. When accepting the message the selective consumer is provided with the message otherwise the message is skipped for this consumer.
        Parameters:
        message -
        Returns:
        true to accept the message, false to decline.