What message value should be added to the Logger component to output the message ‘The year is 2020’, without hardcoding 2020?

Refer to the exhibits.

The Set Payload transformer’s value is set to {‘year’: ‘2020’}.

What message value should be added to the Logger component to output the message ‘The year is 2020’, without hardcoding 2020?
A . ‘#[The year is $(pay load .year)]*
B . The year is #[payload.year]’
C . ‘#[The year is " + paytoad.year]’
D . #["The year is "++ payload.year].

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments