Home

 

Format of command messages

 

+

Search Tips   |   Advanced Search

 

Applications use command messages to communicate with the broker when they want to publish or subscribe to information. These messages use the WebSphere MQ Rules and Formatting Header (RF Header). Each message or response starts with an MQRFH structure, which includes a NameValueString. This consists of a succession of tag names and values (name/value pairs), which define the type of command the message represents and any options that apply to it. In the case of a Publish command message, the MQRFH header is usually followed by the data being published, in a format defined in the MQRFH structure. Alternatively, string publication data can be included within the NameValueString, using appropriate tag names and values defined by the publisher.

This chapter discusses the following topics:

The name/value pairs that define the parameters needed for the command messages are detailed in Publish/Subscribe command messages.

If you are using the WebSphere MQ Application Messaging Interface (AMI) to communicate with the broker, you don't need to understand all the information in this chapter. The AMI constructs and interprets the RF Header and its name/value pairs (see Using the Application Messaging Interface). However, you might find it useful to read this chapter, in particular the section on publication data.

 

Home