public interface MessageMatcher<T>
Message
should be matched on.Modifier and Type | Field and Description |
---|---|
static MessageMatcher<Object> |
ANY_MESSAGE
Matches every
Message |
static final MessageMatcher<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