The MQMD parser
The elements of the MQMD parser are listed in this topic.
The root name for this parser is MQMD. The class name is
MQHMD.
The following table lists the orphan elements adopted by the MQMD header.
Element Name | Element Data Type | Element Attributes |
---|---|---|
SourceQueue | CHARACTER | Name Value |
Transactional | BOOLEAN | Name Value |
The following table lists the elements native to the MQMD header.
Element Name | Element Data Type | Element Attributes |
---|---|---|
Format | CHARACTER | Name Value |
Version | INTEGER | Name Value |
Report | INTEGER | Name Value |
MsgType | INTEGER | Name Value |
Expiry1 | INTEGER/GMTTIMESTAMP | Name Value |
Feedback | INTEGER | Name Value |
Encoding | INTEGER | Name Value |
CodedCharSetId | INTEGER | Name Value |
Priority | INTEGER | Name Value |
Persistence | INTEGER | Name Value |
MsgId | BLOB | Name Value |
CorrelId | BLOB | Name Value |
BackoutCount | INTEGER | Name Value |
ReplyToQ | CHARACTER | Name Value |
ReplyToQMgr | CHARACTER | Name Value |
UserIdentifier | CHARACTER | Name Value |
AccountingToken | BLOB | Name Value |
ApplIdentityData | CHARACTER | Name Value |
PutApplType | INTEGER | Name Value |
PutApplName | CHARACTER | Name Value |
PutDate | TIMESTAMP/CHARACTER | Name Value |
PutTime | TIMESTAMP/CHARACTER | Name Value |
ApplOriginData | CHARACTER | Name Value |
GroupId | BLOB | Name Value |
MsgSeqNumber | INTEGER | Name Value |
Offset | INTEGER | Name Value |
MsgFlags | INTEGER | Name Value |
OriginalLength | INTEGER | Name Value |
Note:
- The Expiry field in the MQMD is a special case:
- An INTEGER value represents an expiry interval in tenths of a second. If the Expiry field is set to -1, it represents an unlimited expiry interval (that is, the message never expires) If the Expiry field is a positive INTEGER, it represents an expiry interval of that number of tenths of a second (for example, if it is set to 4, it represents 4 tenths of a second, if it is set to 15, it represents one and a half seconds).
- A GMTTIMESTAMP value represents a specific expiration time.
If Expiry contains a GMTTIMESTAMP in the past, or an INTEGER of less than 1 (excluding -1), it is set to the value 1 (one tenth of a second, the minimum value).
For further information about this header and its contents, see the Application Programming Reference section of the WebSphere® MQ Version 7.5 product documentation online.