addMessagePart procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
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, #rfi1387308615868, 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.