public interface MessageMatcher<T>
Message
should be matched on.Modifier and Type | Field and Description |
---|---|
static MessageMatcher<java.lang.Object> |
ANY_MESSAGE
Matches every
Message |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(org.springframework.messaging.Message<? extends T> message)
Returns true if the
Message matches, else false |
static final MessageMatcher<java.lang.Object> ANY_MESSAGE
Message
boolean matches(org.springframework.messaging.Message<? extends T> message)
Message
matches, else falsemessage
- the Message
to match onMessage
matches, else false