Refer to the exhibit.
The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP: NOT_FOUND error.
What response message is returned?’’
What response message is returned?
A . APP: API RESOURCE NOT FOUND
B . HTTP: NOT FOUND
C . other error
D . success – main flow
Answer: A
Explanation:
Correct answer is APP: API RESOURCE NOT FOUND
————————————————————————————————————————-
1) A web client submits the request to the HTTP Listener.
2) The HTTP Request throws an "HTTP: NOT_FOUND" error, execution halts.
3) The On Error Propagate error Handler handles the error. In this case, HTTP: NOT_FOUND error is mapped to custom error APP: API_RESOURCE_NOT_FOUND. This error processor sets payload to APP: API_RESOURCE_NOT_FOUND.
4) “APP: API_RESOURCE_NOT_FOUND. ” is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500
Reference Diagram:
Latest MuleSoft Developer I Dumps Valid Version with 235 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund