Interface MessageMatcher<T>

All Known Implementing Classes:
AbstractMessageMatcherComposite, AndMessageMatcher, OrMessageMatcher, SimpDestinationMessageMatcher, SimpMessageTypeMatcher

public interface MessageMatcher<T>
API for determining if a Message should be matched on.
Since:
4.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final MessageMatcher<Object>
    Matches every Message
  • Method Summary

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

  • Method Details

    • 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