0 votes
in Spring by

What is the primary annotation to mark a method to handle exceptions from messaging operations in Spring?

a) @HandleException

b) @MessageExceptionHandler

c) @OnMessageError

d) @ExceptionListener

1 Answer

0 votes
by
b) @MessageExceptionHandler

Explanation:

The @MessageExceptionHandler annotation marks a method to handle exceptions specifically from messaging operations.
...