Interface MessageMatcher<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static MessageMatcher<java.lang.Object> ANY_MESSAGE
      Matches every Message
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean matches​(org.springframework.messaging.Message<? extends T> message)
      Returns true if the Message matches, else false
    • Field Detail

      • ANY_MESSAGE

        static final MessageMatcher<java.lang.Object> ANY_MESSAGE
        Matches every Message
    • Method Detail

      • matches

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