-
Notifications
You must be signed in to change notification settings - Fork 37.7k
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
Allow @SendToUser applied to class [SPR-12047] #16663
Comments
Rossen Stoyanchev commented I can't imagine a good name (like |
Alex commented Something like that would be ideal for me:
The meaning of the
The latter point is the key one, the one that enables a client to map every rpc call with the correct reply, or to correctly handle timeouts. |
Rossen Stoyanchev commented First we'll make this original request for this ticket work and we'll do that by adding support for The copying of headers needs to be considered on its own. It is an additional feature request and affects more than just As for |
Alex commented I've proposed a working solution (albeit not general enough to be included in Spring as-is) for the third point here: https://jira.spring.io/browse/SPR-12048?focusedCommentId=106517&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-106517 I suppose there is no need to open another ticket but please advise the way you prefer me to proceed. |
Alex opened SPR-12047 and commented
When implementing an RPC pattern over STOMP we have to apply the
@SendToUser
annotation to every method.It would be useful to have the possibility to annotate the class so that every method annotated with
@MessageMapping
is automatically annotated with the corresponding@SendToUser
, in a similar way to what@RestController
does.Affects: 4.0.6
Referenced from: commits 03e3ef5
The text was updated successfully, but these errors were encountered: