

MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
1. |
Sending all the errors to the same channel can eventually lead to a large switch-laden class that s too complex to maintain. |
A. | True |
B. | False |
Answer» B. False | |
2. |
One way to discriminate by Exception type is to use:- |
A. | org.springframework.integration.router.ErrorMessageExceptionType |
B. | org.springframework.integration.router.ErrorMessageException |
C. | org.springframework.integration.router.ErrorMessageExceptionTypeRouter |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
3. |
The errorChannel doesn t need to be a service-activator. |
A. | True |
B. | False |
Answer» B. False | |
4. |
Spring Integration provides the ability to catch exceptions and send them to an error channel of your choosing. By default, it s a global channel called :- |
A. | error |
B. | exceptionChannel |
C. | exception |
D. | errorChannel |
Answer» E. | |