What response message would be returned to web client?

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
B. String is not blank
C. No response would be sent back to client and request will get errored out in Mule
D. Start

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:

A picture containing diagram

Description automatically generated

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments