問題文
A Transform Message component is configured with a single output section that declares output application/json. What does the component do to the event?
選択肢
- It writes the result into the payload and also copies the previous payload into the attributes of the message, which is how the original data remains reachable after a transformation has replaced it.
- It validates the payload against the declared media type without changing it, and it raises an error when the payload does not match.
- It writes the result into a variable whose name matches the component name.
- It writes the result of the script into the message payload, leaving the variables of the event as they were.