MapMessage interface supports a message consisting of a set of mapped key/value pairs. This is similar to the Java
HashMap class where a key, such as a name, can be assigned a value, such as a telephone number. It allows this type of information to be transferred as a set of key/value pairs. In this recipe we will develop an application that illustrates their use.
The essential structure of a servlet used to generate a message was introduced in the introduction. Here we will address the unique elements of creating and using a
MapMessage which include:
Queue named ...