Skip to content

Commit c2248c9

Browse files
Xednarrstoyanchev
authored andcommitted
Update Javadoc in DefaultUserDestinationResolver
Closes gh-32272
1 parent 9cc74e7 commit c2248c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-messaging/src/main/java/org/springframework/messaging/simp/config/MessageBrokerRegistry.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ protected Collection<String> getApplicationDestinationPrefixes() {
150150
* session as well as for others to send messages to those unique,
151151
* user-specific queues.
152152
* <p>For example when a user attempts to subscribe to "/user/queue/position-updates",
153-
* the destination may be translated to "/queue/position-updatesi9oqdfzo" yielding a
153+
* the destination may be translated to "/queue/position-updates-useri9oqdfzo" yielding a
154154
* unique queue name that does not collide with any other user attempting to do the same.
155155
* Subsequently when messages are sent to "/user/{username}/queue/position-updates",
156-
* the destination is translated to "/queue/position-updatesi9oqdfzo".
156+
* the destination is translated to "/queue/position-updates-useri9oqdfzo".
157157
* <p>The default prefix used to identify such destinations is "/user/".
158158
*/
159159
public MessageBrokerRegistry setUserDestinationPrefix(String destinationPrefix) {

0 commit comments

Comments
 (0)