config/src/main/java/org/springframework/security/config/annotation/web/messaging/MessageSecurityMetadataSourceRegistry.java
private Constraint simpDestMatchers(SimpMessageType type, String... patterns) {
		List<MatcherBuilder> matchers = new ArrayList<>(patterns.length);
		for (String pattern : patterns) {
			matchers.add(new PathMatcherMessageMatcherBuilder(pattern, type));
		}
		return new Constraint(matchers);
	}
private Constraint simpDestMatchers(SimpMessageType type, String... patterns) {
		List<MatcherBuilder> matchers = new ArrayList<>(patterns.length);
		for (String pattern : patterns) {
			matchers.add(new PathMatcherMessageMatcherBuilder(pattern, type));
		}
		return new Constraint(matchers);
	}
Maps a {@link List} of {@link SimpDestinationMessageMatcher} instances. If no
destination is found on the Message, then the Matcher returns false.

@param type the {@link SimpMessageType} to match on. If null, the
{@link SimpMessageType} is not considered for matching.
@param patterns the patterns to create
{@link org.springframework.security.messaging.util.matcher.SimpDestinationMessageMatcher}
from. Uses
{@link MessageSecurityMetadataSourceRegistry#simpDestPathMatcher(PathMatcher)}.

@return the {@link Constraint} that is associated to the {@link MessageMatcher}
@see {@link MessageSecurityMetadataSourceRegistry#simpDestPathMatcher(PathMatcher)}