EMS follows JMS in defining five types of message body:
MapMessage
The message body is a mapping from field names to values. Field names are strings. EMS supports an extended set of values types (extending JMS). Programs can access fields either by name, or sequentially (though the order of that sequence is indeterminate).ObjectMessage
The message body is one serializable object.StreamMessage
The message body is a stream of values. Programs write the values sequentially into the stream, and read values sequentially from the stream.TextMessage
The message body is one character string (of any length). This text string can represent any text, including an XML document.BytesMessage
The message body is a stream of uninterpreted bytes. Programs can use this body type to emulate body types that do not map naturally to one of the other body types.
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |