spring-framework / org.springframework.messaging.simp.user / UserDestinationResult / getSourceDestination

getSourceDestination

open fun getSourceDestination(): String

The "user" destination from the source message. This may look like "/user/queue/position-updates" when subscribing or "/user/{username}/queue/position-updates" when sending a message.

Return
the "user" destination, never null.