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.


PROCEDURE clearBody.

Applies to

Message objects


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

See also

clearProperties procedure
For more information, see the Accessing message properties.