Package org.springframework.messaging.simp.user
@NonNullApi
@NonNullFields
package org.springframework.messaging.simp.user
Support for handling messages to "user" destinations (i.e. destinations that are
unique to a user's sessions), primarily translating the destinations and then
forwarding the updated message to the broker.
Also included is SimpUserRegistry
for keeping track of connected user sessions.
-
ClassDescriptionA default implementation of
UserDestinationResolver
that relies on aSimpUserRegistry
to find active sessions for a user.SimpUserRegistry
that looks up users in a "local" user registry as well as a set of "remote" user registries.Represents a session of connected user.Represents a subscription within a user session.A strategy for matching subscriptions.Represents a connected user.A registry of currently connected users.MessageHandler
with support for "user" destinations.A strategy for resolving a "user" destination by translating it to one or more actual destinations one per active user session.Contains the result from parsing a "user" destination from a source message and translating it to target destinations (one per active user session).MessageHandler
that handles user registry broadcasts from other application servers and periodically broadcasts the content of the local user registry.