MessageCondition.getMatchingCondition

Check if this condition matches the given Message and returns a potentially new condition with content tailored to the current message. For example a condition with destination patterns might return a new condition with sorted, matching patterns only. @return a condition instance in case of a match; or {@code null} if there is no match.

interface MessageCondition(T)
T
getMatchingCondition

Meta