O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

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

More About Messages

So far, you've seen a lot about queues and topics, but not much about messages. Messages are the most important part of JMS, and there are many different types of messages and many interesting features common to all messages.

A JMS message has three parts, as shown in Figure 19.7.

Figure 19.7. A JMS message has a header, properties, and a body.

The message header is a set of values that is present on every message. The properties are similar to header values in that they are separate from the actual message content and can appear on any type of message. You can think of the properties as header values that you define yourself. ...

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