NAME

MQSeries::PubSub::Message -- OO interface to the MQRFH based Publish/Subscribe message format

SYNOPSIS

use MQSeries;
use MQSeries::PubSub::Message;

DESCRIPTION

This class implements an OO interface to the MQRFH based Publish/Subscribe message format, which is based on the Rules and Format message type.

METHODS

The MQSeries::PubSub::Message class is a subclass of the MQSeries::Message::RulesFormat class, so all of the latters methods are available.

new

The only notable difference between the MQSeries::PubSub::Message and MQSeries::Message::RulesFormat constructors has to do with the "OptionsKeyPrefix" argument.

The MQSeries::PubSub::Message constructor calls the MQSeries::Message::RulesFormat constructor with the additional argument:

OptionsKeyPrefix	=> 'MQPS',

Otherwise, the application supplied arguments are passed as-is to the parent class constructor. This argument tells the RulesFormat class methods to prepend or strip the "MQPS" string from the Options keys, when either encoding or decoding the MQRFH.NameValue string for the raw message format.

This is is done to simplify the strings used in the application, as documented in the MQSeries::PubSub::Command interface, and is entirely cosmetic.

Otherwise, these two classes are identical.

SEE ALSO

MQSeries::PubSub::Broker(3),
MQSeries::PubSub::Stream(3),
MQSeries::PubSub::Command(3),
MQSeries::Message::RulesFormat(3),