MCD-LEVEL-1 · Question #126
Refer to the exhibits. A web client submits the request to the HTTP Listener. What response message would be returned to web client?
The correct answer is B. String is not blank. Correct answer is String is not blank. -------------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here: 1) Payload is successfully set to "Start" 2) The Is Blank…
Question
Refer to the exhibits. A web client submits the request to the HTTP Listener. What response message would be returned to web client?
Exhibit
Options
- AEnd
- BString is not blank
- CNo response would be sent back to client and request will get errored out in Mule
- DStart
How the community answered
(27 responses)- A7% (2)
- B85% (23)
- C4% (1)
- D4% (1)
Explanation
Correct answer is String is not blank. -------------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here: 1) Payload is successfully set to "Start" 2) The Is Blank String validator creates an Error Object because the payload is string "Start". #[error.description] = "String is not blank" 3) Because no error handler is defined, the Mule default error handler handles the error. Remember, at its heart, the Mule Default Error handler is an error handling scope with just an on error propagate 4) "String is not blank" is the error message returned to the requestor in the body of the HTTP requestHTTP Status Code: 500
Topics
Community Discussion
No community discussion yet for this question.
