code: @Override
  	public DestinationPatternsMessageCondition getMatchingCondition(Message<?> message) {
  		WampMessage wampMessage = (WampMessage) message;
  		String destination = wampMessage.getDestination();
  		if (destination == null) {
  			return null;
  		}
  
  		if (this.patterns.isEmpty()) {
  			return this;
  		}
  
  		List<String> matches = new ArrayList<>();
  		for (String pattern : this.patterns) {
  			if (pattern.equals(destination)
  					|| this.pathMatcher.match(pattern, destination)
  					|| "**".equals(destination)) {
  				matches.add(pattern);
  			}
  		}
  
  		if (matches.isEmpty()) {
  			return null;
  		}
  
  		Collections.sort(matches, this.pathMatcher.getPatternComparator(destination));
  		return new DestinationPatternsMessageCondition(matches, this.pathMatcher);
  	}
docs: 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 org.springframework.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