QuestionQ48

VerifiedManage event flow, handle errors, and process batch records

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.

Which payload and status code are returned to the web client?

Question Image

Question Image

Explanation

An On Error Continue flow-level handler consumes the HTTP Request error and sets the event payload to ERROR1. Because the error is handled rather than propagated, the HTTP Listener sends its normal success response using that payload; its default success status code is 200.

Learn more

Community Discussion

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