Class MessageSelector.AllAcceptingMessageSelector

    • Constructor Detail

      • AllAcceptingMessageSelector

        public AllAcceptingMessageSelector()
    • Method Detail

      • accept

        public boolean accept​(Message message)
        Description copied from interface: MessageSelector
        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.
        Specified by:
        accept in interface MessageSelector
        Returns:
        true to accept the message, false to decline.