addMessagePart procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Adds a SonicMQ message to a MultipartMessage.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
|
Applies to
Message objects
Notes
- The Sonic message is created as usual.
- Its content type is defined by Sonic. The content-ID string (represented by contentIDString) sets the content ID of the part and is used to identify it.
- To conserve resources, after calling this procedure, the application must delete the message-part handle (represented by messagePartH).
See also
createMultipartMessage procedure, addBytesPart procedure, addMessagePart procedure, addTextPart procedure, isMessagePart function, getContentType, getPartCount function, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMemptr function
For more information, see the MultipartMessage and the MultiPartMessage example.