ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 126 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits.

A web client submits the request to the HTTP Listener. What response message would be returned to web client?

A.
End
Answers
A.
End
B.
String is not blank
Answers
B.
String is not blank
C.
No response would be sent back to client and request will get errored out in Mule
Answers
C.
No response would be sent back to client and request will get errored out in Mule
D.
Start
Answers
D.
Start
Suggested answer: B

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'. Execution stops

#[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

Reference Diagram:

asked 18/09/2024
Sérgio Filipe Soares
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first