@Nullable open fun getMatchingCondition(message: Message<*>): DestinationPatternsMessageCondition
Overrides MessageCondition.getMatchingCondition
Check if any of the patterns match the given Message destination and return an instance that is guaranteed to contain matching patterns, sorted via org.springframework.util.PathMatcher#getPatternComparator(String).
message - the message to match to
Return
the same instance if the condition contains no patterns; or a new condition with sorted matching patterns; or null either if a destination can not be extracted or there is no match