List of usage examples for org.springframework.messaging.simp.stomp StompCommand requiresDestination
public boolean requiresDestination()
From source file:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler.java
protected boolean checkDestinationPrefix(StompCommand command, String destination) { if (!command.requiresDestination()) { return true; } else if (destination == null) { return false; }/* w ww .j ava 2s . co m*/ for (String prefix : this.destinationPrefixes) { if (destination.startsWith(prefix)) { return true; } } return false; }