-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Support global @MessageExceptionHandler via @ControllerAdvice in RSocket #26636
Comments
What we could do however is expose a method in ControllerAdviceBean.findAnnotatedBeans(context).forEach(controllerAdviceBean ->
rsocketMessageHandler.registerAdviceBean(new MessagingAdviceBeanWrapper(controllerAdviceBean)); Spring Boot can probably do that automatically in its |
This is specific to rSocket.
Add support for global @MessageExceptionHandler using @ControllerAdvice.
Currently @MessageExceptionHandler needs to be part of same controller to handle issues.
The text was updated successfully, but these errors were encountered: