What message processor can set the HTTP response status code to 200?

Prepare for the MuleSoft Associate Exam. Study with quizzes featuring flashcards and multiple choice questions, complete with hints and explanations. Ace your certification with confidence!

Multiple Choice

What message processor can set the HTTP response status code to 200?

Explanation:
In a Mule flow, the HTTP response code is controlled by a message property, specifically http.status. To make the response return 200, use a Set Property processor and set the property name to http.status with the value 200. The other processors affect the payload or flow behavior (Transform Message changes the body, Set Payload changes the body, and Message Filter handles routing), but they don’t directly set the HTTP status code.

In a Mule flow, the HTTP response code is controlled by a message property, specifically http.status. To make the response return 200, use a Set Property processor and set the property name to http.status with the value 200. The other processors affect the payload or flow behavior (Transform Message changes the body, Set Payload changes the body, and Message Filter handles routing), but they don’t directly set the HTTP status code.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy