Each message set that you create specifies a domain, which determines the
parser that is used when parsing and writing all messages that are defined
within that message set. Each domain is suited to a particular class of messages
(fixed-length binary, delimited text, XML, and so on). Additionally, some
domains support several physical formats (sometimes called wire
formats). Before you create a message set, decide which domain and
physical format to use.
Select one of the following domains:
- MRM
- For modeling a wide range of messages, including XML, fixed-format binary,
and formatted text.
- XML, XMLNS, or XMLNSC
- For messages conforming to the W3C XML standard.
- JMSMap or JMSStream
- For certain types of message that are produced by the implementations
of the Java Messaging Service standard. For a full description of JMS message
processing, see WebSphere Broker JMS Transport.
- IDOC
- For messages in SAP
IDoc format.
- MIME
- For handling multipart MIME messages, such as SOAP with Attachments, or
RosettaNet.
Choose the domain that best fits your messaging needs:
- If your messages are in XML, use either the XML Wire Format in the MRM
domain, or the XMLNSC domain, or the XMLNS domain. See XML messages in the MRM and XML domains for more details about the capabilities of these domains.
- If your messages come from an application that is written in a language
such as C, COBOL, or PL/I, or if they consist of fixed-format binary data
(possibly including null-terminated strings), use the Custom Wire Format in
the MRM domain.
- If your messages consist of formatted text, perhaps with field content
that is identified by tags, or separated by specific delimiters, or both,
use the Tagged/Delimited String Format in the MRM domain.
Alternatively, you can specify your own domain. Specify your own domain
if you are using WebSphere Message
Broker, and you have
written a user-defined parser to parse your messages, instead of using the
supplied parsers.