Message service folders

The following folder names are defined for use by WebSphere MQ products:
<mcd>
Message content descriptor
<psc>
Publish/subscribe command
<pscr>
Publish/subscribe command response
<usr>
Application (user) defined properties

Each folder is contained in a separate NameValueData field, each of which is preceded by a NameValueLength field.

Independent software vendors can choose other names for their folders. However, you can prefix your chosen folder name with their internet domain name to avoid naming conflicts and problems. For example, a vendor with domain name ourcompany.com might name its folders:
com.ourcompany.xxx  or com.ourcompany.ourData

The mcd folder

The <mcd> folder can contain the following elements that describe the structure of the message data in a WebSphere MQ message. They are all character strings, and are case-sensitive.
<Msd>
Message service domain
Valid values are:
mrm
WebSphere Message Broker MRM-managed messages.
xml
The message is treated as a self-defining XML message.
xmlns
The message is treated as a self-defining XML message. If your messages use XML namespaces, use xmlns in preference to xml.
xmlnsc
The message is treated as a self-defining XML message. If your messages use XML with namespaces, use xmlnsc in preference to xmlns or xml, to take advantage of the compact trees that this parser produces.
mime
The message uses the MIME standard for multipart messages.
idoc
The message is treated as an SAP IDoc message.
none
The message is treated as an opaque blob, and delivered to the recipient as is.
<Set>
Message set
<Type>
The name of the message type, within the specified message set, to which this message corresponds.
Note: In Version 2.1 this specifies an identifier, rather than a name, for the message type.
<Fmt>
The name of the MRM physical format, within the specified message set, to which this message corresponds.
Note: In Version 2.1 this specifies an identifier, rather than a name, for the MRM physical format.
Note: The <Set>, <Type>, and <Fmt> elements are only used when <Msd> is either mrm or idoc.

The psc folder

The <psc> folder is used to convey publish/subscribe command messages to the broker.

Only one psc folder is allowed in the NameValueData field.

See Command messages for full details.

The pscr folder

The <pscr> folder is used to contain information from the broker, in response to publish/subscribe command messages.

There is only one pscr folder in a response message.

See Broker Response message for full details.

The broker ignores this folder in messages that it receives from publish/subscribe applications.

The usr folder

The content model of the <usr> folder is as follows:
  • Any valid XML name can be used as an element name, providing that it doesn't contain a colon
  • Only simple elements, not groups, are allowed
  • All elements take the default type of string, unless modified by a dt="xxx" attribute
  • All elements are optional, but should occur no more than once in a folder
  • An MQRFH2 instance can contain no more than one <usr> folder
Related concepts
Parsers
Message modeling