WebSphere Message Brokers
File: ad31040_
Writer: Terry Cowling

Concept topic

This build: July 31, 2007 21:27:02

Specifying namespaces in a Message Type

A Message Type may contain a simple message identifier or a message type path when defining multipart messages. When defining multipart messages the Message Type is combined with the Message Type Prefix message set property. A message type path may also be specified when using the FolderBitStream option of the ESQL ASBITSTREAM function and CREATE ... PARSE statement.

The format of a simple message type is {namespace-uri}:name where 'name' is the name of the message.

The same name can occur in more than one namespace. To specify that a name is to be qualified with a specific namespace, the name must be prefixed with the namespace within the Message Type. The namespace must be the full URI specification and be enclosed in braces.

For example a Message Type with a single name would be entered as:

{http://www.ibm.com/space}name

and with a message type path

{http://www.ibm.com/space}id/.../{http://www.ibm.com/spacem}idm

If no namespace is specified for a name, the first match found in the model is used. Therefore, if namespaces are not enabled, or a name is unique within a message set, the namespace need not be specified in the Message Type. If a name is not unique, you should specify the namespace to ensure that the correct match is made in the model.

Related concepts
Namespaces in the message model
Identifying an embedded message using a Message Path
Namespaces with non-XML messages
Reusing message definition files
Related tasks
Applying a Quick Fix to a task list error
Handling large MRM messages
Creating a message set
Creating a message definition file
Related reference
Message set properties
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ad31040_ This topic's URL is: