In which of the following must you call getBody() to access the payload in a Groovy script?
To access the payload in a Groovy script, you must use the message object and call the getBody() method on it. The message object represents the current message that is being processed in the integration flow. It has methods to get and set the message body, headers, properties, and attachments. The getBody() method returns the message body as an object of the specified type, such as java.lang.String, java.io.InputStream, or org.w3c.dom.Document.Reference:General Scripting Guidelines | SAP Help Portal,Message | SAP Help Portal
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!