File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38158,16 +38158,16 @@ so that their session is associated with a concrete user name.
3815838158See the previous section on information about authentication.
3815938159
3816038160Spring's STOMP support recognizes destinations prefixed with `/user/`.
38161- For example, a client can subscribe to destination `/user/position-updates`.
38161+ For example, a client can subscribe to destination `/user/queue/ position-updates`.
3816238162This destination will be handled by the `UserDestinationMessageHandler` and
3816338163transformed into a destination unique to the user's session,
38164- e.g. `/user /position-updates-123`. This provides the convenience of subscribing
38164+ e.g. `/queue /position-updates-123`. This provides the convenience of subscribing
3816538165to a generically named destination, while also ensuring that it doesn't "collide"
38166- with any other user that also subscribes to `/user/position-updates`
38166+ with any other user that also subscribes to `/user/queue/ position-updates`
3816738167in order to receive stock position updates unique to them.
3816838168
3816938169On the sending side, messages can be sent to a destination such as
38170- `/user/{username}/position-updates`, which in turn will be translated
38170+ `/user/{username}/queue/ position-updates`, which in turn will be translated
3817138171by the `UserDestinationMessageHandler` into the same unique destination
3817238172belonging to the specified user name.
3817338173
You can’t perform that action at this time.
0 commit comments