Skip to content

Support global @MessageExceptionHandler [SPR-12696] #17293

Closed
@spring-projects-issues

Description

@spring-projects-issues

Alex opened SPR-12696 and commented

I find useful to annotate a class with @ControllerAdvice so that the same error handler is used for multiple controllers.

I would like to do the same, i.e. having some kind of class with a special annotation where I would put my @MessageExceptionHandler methods


Affects: 4.1.4

Issue Links:

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions