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

Allow use of @JsonView on @MessageMapping methods [SPR-12741] #17338

Closed
spring-issuemaster opened this issue Feb 21, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Feb 21, 2015

Alex opened SPR-12741 and commented

It is my understanding that the selection of the view to be used in serialization as defined by #11815 is available only for @ResponseBody REST methods.

It would be very useful to be used also in @MessageMapping methods.


Affects: 4.1.5

Issue Links:

  • #17293 Support global @MessageExceptionHandler ("depends on")
  • #17323 MessageConverter implementation that marshals from/to XML
  • #17828 JsonView support for JMS
  • #17856 Jackson @JsonView deserialization support for @MessageMapping payloads

Referenced from: commits 876c969

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Feb 23, 2015

Rossen Stoyanchev commented

Yes especially given #17293. Whatever the solution for @ControllerAdvice-like capability, once available, it should make resolving this straight-forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.