The JMS OTD currently supports the following message types:
Message
A Message carries no payload, and is generally used for event notification. Java methods specifically available for use with this message type are:
BytesMessage
A BytesMessage carries a byte array as its payload, and is often used in cases where JMS is simply used as a transport between systems. Java methods specifically available for use with this message type are:
MapMessage
A MapMessage carries a set of name-value pairs as its payload, and is often used for delivering keyed data. Java methods specifically available for use with this message type are:
StreamMessage
A StreamMessage carries a stream of primitive Java types
(such as char
, double
, and int
)
as its payload, and is often used when delivering primitive application
data in a fixed order. Java methods specifically available for use
with this message type are:
TextMessage
A TextMessage carries a string, of type java.lang.Stringas its payload, and is used for exchanging both text messages and XML documents. As such, it is the most often used message type. Java methods specifically available for use with this message type are: