messaging/src/main/java/org/springframework/security/messaging/util/matcher/SimpDestinationMessageMatcher.java
public static SimpDestinationMessageMatcher createSubscribeMatcher(String pattern,
			PathMatcher matcher) {
		return new SimpDestinationMessageMatcher(pattern, SimpMessageType.SUBSCRIBE,
				matcher);
	}
public static SimpDestinationMessageMatcher createSubscribeMatcher(String pattern,
			PathMatcher matcher) {
		return new SimpDestinationMessageMatcher(pattern, SimpMessageType.SUBSCRIBE,
				matcher);
	}
<p>
Creates a new instance with the specified pattern,
{@code SimpMessageType.SUBSCRIBE}, and {@link PathMatcher}.

@param pattern the pattern to use
@param matcher the {@link PathMatcher} to use.