Enter a script that will process received messages and invoke certain actions in the system. The following variables are available in the script:
body of type string – the message sent to the queue.
headers of type object – a set of string keys with string values passed in message headers.
(function(body, headers) {
ss.info(body + JSON.stringify(headers));
})(body, headers)