Refer to the exhibits.
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
Refer to the exhibits.
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
The flow sets a JSON payload using the Set Payload transformer with a DataWeave expression. The DataWeave expression evaluates to an object in MuleSoft. Therefore, when the Logger component logs the type of the payload, it logs "Object". The correct answer is therefore "Object".
B is correct
B ->Object
B is correct
B is correct
A. "String". - Just tested in anypoint studio
The main hint here is that we don't have transformer to convert the payload to object!
B = Object
B is correct. Look at the value of setPayload -> #[...] its Datawave expression, witch mean will transform the string into object
B is correct
A is correct as the '#[...]' is in single quote.
String values need to be in double quotes. Therefore A is not correct