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

getTargetDestinations

open fun getTargetDestinations(): MutableSet<String>

The target destinations that the source destination was translated to, one per active user session, e.g. "/queue/position-updates-useri9oqdfzo".

Return
the target destinations, never null but possibly an empty set if there are no active sessions for the user.