WebSphere Message Brokers
File: aq07040_
Writer: Terry Cowling

Reference topic

This build: July 31, 2007 21:35:26

MQMD settings in broker response messages

A broker uses the following settings of fields in the message descriptor (MQMD) when sending a reply to a publication message. All other fields in the MQMD are set to their default values.

Report
Report is set to all zeroes.
MsgType
MsgType is set to MQMT_REPLY.
Format
Format is set to MQFMT_RF_HEADER_2
MsgId
The setting of MsgId depends on the Report options in the original command message. By default, it is set to MQMI_NONE, so that the queue manager generates a unique value.
CorrelId
The setting of CorrelId depends on the Report options in the original command message. By default, this means that the CorrelId is set to the same value as the MsgId of the command message. This can be used to correlate commands with their responses.
Priority
Priorityis set to the same value as in the original command message.
Persistence
Persistence is set to the value set in the original command message.
Expiry
Expiry is set to the same value as in the original command message received by the broker.
PutApplType
PutApplType is set to MQAT_BROKER.
PutApplName
PutApplName is set to the first 28 characters of name of the queue manager.

Other context fields are set as if generated with MQPMO_PASS_IDENTITY_CONTEXT.

Notices | Trademarks | Downloads | Library | Support | Feedback

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

aq07040_ This topic's URL is: