DestinationPatternsMessageCondition(vararg patterns: String)
Creates a new instance with the given destination patterns. Each pattern that is not empty and does not start with "/" is prepended with "/".
patterns - 0 or more URL patterns; if 0 the condition will match to every request.
DestinationPatternsMessageCondition(patterns: Array<String>, @Nullable pathMatcher: PathMatcher)
Alternative constructor accepting a custom PathMatcher.
patterns - the URL patterns to use; if 0, the condition will match to every request.