WebSphere Message Brokers
File: ad00700_
Writer: Terry Cowling

Concept topic

This build: July 31, 2007 21:21:33

Message definition files

A message definition file contains the messages, elements, types and groups which make up a message set.

Every message set requires at least one message definition file to describe its messages. Message definition files use the XML Schema language to describe the logical format of one or more messages. Extra information in the form of XML Schema annotations is used to describe any physical formats which you define for the messages.

Large message sets can contain several message definition files. This keeps the individual files to a manageable size, making them faster and easier to work with.

Message definition files can be created using the Message Definition Editor, or can be imported from a range of different file formats as described in the topic, Importing from other model representations to create message definitions.

A message definition file can be associated with a namespace, so that all message model objects declared within the file belong to that namespace. Namespaces provide a means of avoiding name clashes among similarly named global objects. They are described in detail in the topic, Namespaces in the message model.

One message definition file can reuse message model objects defined in another message definition file. XML Schema provides two mechanisms to do this: import and include. For more information see Reusing message definition files.

Related concepts
Message sets overview
Message model objects
Namespaces in the message model
XML Schema and the message model
Ways to create message definitions
Reusing message definition files
Related tasks
Creating a message definition file
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ad00700_ This topic's URL is: