MuleSoft
MCD-LEVEL-1 · Question #89
Refer to the exhibits. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?
The correct answer is B. "End". 1. Set Payload "Start" 2. 'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank" 3. Default Error Handler catches and Propagates error 4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description]…
Handling Errors in Mule Applications
Question
Refer to the exhibits. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?
Exhibit
Options
- A""
- B"End"
- C"Start"
- D"String is not blank"
How the community answered
(29 responses)- A7% (2)
- B72% (21)
- C3% (1)
- D17% (5)
Explanation
- Set Payload "Start" 2. 'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank" 3. Default Error Handler catches and Propagates error 4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description] -------------------------------------------------------------------------------------------------------------------------- Correct answer is String is not blank. Because validation component will throw an error as payload is
Topics
#HTTP Listener#GET request#error handling#flow execution order
Community Discussion
No community discussion yet for this question.
