Skip to content

Commit 670fc9b

Browse files
committed
Merge branch '6.1.x'
2 parents 7a65aad + c2248c9 commit 670fc9b

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

Lines changed: 2 additions & 2 deletions
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)