nerdexam
MuleSoft

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…

Building Integration Logic

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

MCD-LEVEL-1 question #126 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)
  • A
    7% (2)
  • B
    85% (23)
  • C
    4% (1)
  • D
    4% (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

#HTTP Listener#flow execution tracing#error handling#response behavior

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice