Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : clearBody procedure
 

clearBody procedure

Clears the body of a message, keeping header and property values unchanged, and changes the mode of a message from read-only to write-only mode.

Syntax

PROCEDURE clearBody.

Applies to

Message objects

Notes

clearBodyprocedure transfers a StreamMessage, TextMessage, XMLMessage, BytesMessage, TempTableMessage, or DataSetMessage to write-only mode.

See also

clearPropertiesprocedure
For more information, see the Accessing message properties.