DestinationPatternsMessageCondition.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 {@link hunt.framework.util.PathMatcher#getPatternComparator(string)}. @param 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 {@code null} either if a destination can not be extracted or there is no match

class DestinationPatternsMessageCondition
getMatchingCondition

Meta