QuestionQ40

VerifiedDeveloping Mule Applications

Refer to the exhibits. The Mule application does not define any global error handlers.

A web client sends a GET request to the HTTP Listener, and the HTTP Request throws an error. What payload and status code are returned to the web client?

Question Image

Explanation

An On Error Continue in a flow-level error handler handles the HTTP Request error and makes the flow complete successfully. Its Set Payload operation changes the payload to ERROR1; therefore, the HTTP Listener uses its default successful response behavior, returning that payload with status code 200.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!