Queued publish/subscribe command messages
An application can use MQRFH2 command messages to control a queued publish/subscribe application.
An application that is using
MQRFH2 for publish/subscribe can send the following command messages to the SYSTEM.BROKER.CONTROL.QUEUE:
If you are writing queued publish/subscribe applications, you must understand these messages, the queue manager response message, and the message descriptor (
MQMD); see the following information:
The commands are contained in a <psc> folder in the NameValueData field of the MQRFH2 header. The message that can be sent by a broker in response to a command message is contained in a <pscr> folder.
The descriptions of each command list the properties that can be contained in a folder. Unless otherwise specified, the properties are optional and can occur only once.
- Names of properties are shown as
<Command>. - Values must be in string format, for example:
Publish. - A string constant representing the value of a property is shown in parentheses, for example:
(MQPSC_PUBLISH). - String constants are defined in the header file cmqpsc.h which is supplied with the queue manager.