Refer to the exhibits.

What is the response when a client submits a request to http://localhost:8081?
-----------------------------------------------------------------------------------------------------------------------------------
Here's specifically what is happening here:
1) Payload is successfully set to ''Before''
2) Is null validation is used which will pass the message only if payload is null. In this case as payload is not null, it creates an Error Object. Flow execution stops
#[error.description] = ''Validation error''
3) Because no error handler is defined, the Mule default error handler handles the error
4) ''Validation error'' is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500
Reference diagram:

Krystal
3 days agoBernadine
8 days agoRoselle
27 days agoFlorinda
1 month agoAndra
1 month agoShawna
1 month agoRodney
2 months agoSherman
2 months agoVal
2 months agoKate
2 months agoDoug
2 months agoCorinne
2 months agoJulio
3 months agoMerlyn
3 months agoSoledad
3 months agoFelicidad
3 months agoFletcher
3 months agoRosalyn
4 months agoLindsey
4 months agoTegan
4 months agoMartin
4 months ago