WebSphere Message Brokers
File: ad10590_
Writer: Terry Cowling

Concept topic

This build: July 31, 2007 21:23:59

Generate message dictionaries

A message dictionary is data structure which describes all of the messages in a message set in a form suitable for deployment to WebSphere Message Broker.

Purpose of a message dictionary

A dictionary describes the logical structure and content of a set of messages, and usually contains one or more physical formats which describe how those messages are serialized in a bit stream. The MRM parser within WebSphere Message Broker can use this information to parse an incoming message bit stream into a message tree, or to convert a message tree into a physical bit stream.

Contents of a message dictionary

A message dictionary contains the same information as the message set from which it was created, but in a compressed form which the MRM parsers within WebSphere Message Broker can understand and use. A message dictionary contains all the elements in the message set, the structure of the messages, and all the value constraints. A message dictionary also contains any physical formats which were defined in the message set.

Generating a message dictionary

Before a message dictionary can be used, it must be deployed to WebSphere Message Broker. This is achieved by adding the message set to a BAR file, and then deploying the BAR file to a message broker. The generation of the message dictionary is performed automatically when a message set is added to a BAR file.

Before adding a message set to a BAR file, the Message Broker Toolkit performs a full validation of the message set. If this validation finds any errors, the message set is not added to the BAR file, and therefore no dictionary is generated.

Dictionary generation report files

Whenever a message dictionary is generated, a report file is also generated and added to the same BAR file. This report file contains informational messages and warnings which relate to the use of the generated dictionary. You should always check this file after generating a message dictionary.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:23:59

ad10590_ This topic's URL is: