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

getContentType

Retrieves the content type of the message part corresponding to the index in a MultipartMessage.
Note: The JMS providers other than SonicMQ do not support this method.

Syntax

FUNCTION getContentType RETURNS CHARACTER (INPUT iIndex AS INTEGER).

Applies to

Message objects

See also

createMultipartMessage procedure , addBytesPart procedure, addMessagePart procedure , addTextPart procedure , isMessagePart function, getPartCount function, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMemptr function
For more information, see the MultipartMessage and the MultiPartMessage example.