O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Message Types

There are five standard JMS message types, and the WebLogic JMS implementation defines an additional XML message type.

JMS Message Types

Table 7.3 lists the JMS message types.

Table 7.3. JMS Message Types
Message Type Description
StreamMessage This message type consists of a serialized stream of objects. The objects must be read from the stream in the order they were written.
MapMessage A message consisting of name/value pairs. Like a hash table, these are unordered, and each name must be unique within the map.
TextMessage A message type to hold a string.
ObjectMessage A message that holds a serialized object.
BytesMessage A raw stream of bytes. Clients who need complete control over the raw message format use this message type. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required