Class AndMessageMatcher<T>

    • Constructor Detail

      • AndMessageMatcher

        public AndMessageMatcher​(java.util.List<MessageMatcher<T>> messageMatchers)
        Creates a new instance
        Parameters:
        messageMatchers - the MessageMatcher instances to try
      • AndMessageMatcher

        @SafeVarargs
        public AndMessageMatcher​(MessageMatcher<T>... messageMatchers)
        Creates a new instance
        Parameters:
        messageMatchers - the MessageMatcher instances to try
    • Method Detail

      • matches

        public boolean matches​(org.springframework.messaging.Message<? extends T> message)
        Description copied from interface: MessageMatcher
        Returns true if the Message matches, else false
        Parameters:
        message - the Message to match on
        Returns:
        true if the Message matches, else false