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