Skip to content

Commit 96efafe

Browse files
committed
Fix documentation issue for user destinations.
Issue: SPR-11992
1 parent fbf24a9 commit 96efafe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/asciidoc/index.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38158,16 +38158,16 @@ so that their session is associated with a concrete user name.
3815838158
See the previous section on information about authentication.
3815938159

3816038160
Spring'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`.
3816238162
This destination will be handled by the `UserDestinationMessageHandler` and
3816338163
transformed 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
3816538165
to 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`
3816738167
in order to receive stock position updates unique to them.
3816838168

3816938169
On 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
3817138171
by the `UserDestinationMessageHandler` into the same unique destination
3817238172
belonging to the specified user name.
3817338173

0 commit comments

Comments
 (0)