Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## 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

> #### Note

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

> #### See also

> clearBody procedure, clearProperties procedure

> For more information, see the "Accessing message properties" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095