This topic contains sections marked as revised for this release

WebSphere Message Brokers
File: ac00580_
Writer: Karen Cameron

Concept topic

This build: July 31, 2007 21:16:52

MRM parser and domain

You can use the MRM domain to model a wide range of messages.

You can create message models to represent a wide range of message types, using the MRM domain with one or more optional physical formats; refer to the related links for more details. Messages in this domain are processed by the MRM parser.

WebSphere Message Broker uses the MRM parser to read and write messages that belong to the MRM domain. When reading a message, the MRM parser constructs a message tree from a bit stream. When writing a message, the MRM parser creates a bit stream from a message tree. The MRM parser is model-driven, and it is guided by a message dictionary, which describes the shape of the message tree (the logical model) and the bytes or characters in the bit stream (the physical format). A message dictionary is created automatically from a message set when it is added to the broker archive (bar) file. The operation of the parser depends on the physical format that you have associated with the input or output message:

In the MRM domain, the message is considered in two parts:

This two-part definition can be useful because it handles situations in which you need to connect two different systems. For example, an application that expects data to be passed to it in the form of COBOL copybooks needs to communicate with a system that expects data in the form of XML. Both applications work with the same data, and you do not want to alter either application. By routing the messages through a broker, you can use a single logical model with multiple physical representations to provide the required transformation.

The following samples all use the MRM parser to process messages: You can view samples only when you use the information center that is integrated with the Message Brokers Toolkit.
Related concepts
The MRM domain
XML messages in the MRM and XML domains
ESQL overview
XML parsers and domains
JMS parser and domains
Logical tree structure
Correlation names
Message modeling concepts
Physical formats in the MRM domain
Related tasks
Designing a message flow
Developing ESQL
Developing Java
Manipulating message body content
Manipulating messages in the MRM domain
Related reference
Message model reference information
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ac00580_ This topic's URL is: