Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user destinations docs are missing the brokerPrefix [SPR-11992] #16608

Closed
spring-projects-issues opened this issue Jul 14, 2014 · 1 comment
Closed
Assignees
Labels
in: messaging in: web type: documentation
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jul 14, 2014

zyro opened SPR-11992 and commented

in order to send messages to user destinations you need to supply the userDestinationPrefix and the brokerPrefix or else UserDestinationMessageHandler will resolve the destination but then SimpleBrokerMessageHandler will ignore it because it lacks a brokerPrefix.

at least thats the behavior i am currently seeing. taking a quick look at the portfolio sample app, it is done there just like that (userDestinationPrefix + brokerPrefix) - https://github.com/rstoyanchev/spring-websocket-portfolio/blob/master/src/main/webapp/traditional/portfolio.js.

it looks like the docs are missing that part: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html#websocket-stomp-user-destination only mentions the userDestinationPrefix

the linked github issue above is primarily for reference showing an example of the resulting confusion ;)

thanks, zyro


Affects: 4.0.5, 4.0.6

Reference URL: zyro23/grails-spring-websocket#6 (comment)

Referenced from: commits 96efafe, 70ccbbf

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jul 16, 2014

Rossen Stoyanchev commented

Good point, that's wrong there.

@spring-projects-issues spring-projects-issues added in: messaging type: documentation in: web labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.0.7 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: messaging in: web type: documentation
Projects
None yet
Development

No branches or pull requests

2 participants