Home
Options using string constants
Some commands have options associated with them, which are also specified to the broker by name/value pairs. They are defined in the C header file cmqpsc.h. Multiple registration options, publication options and delete options are allowed, so the MQPSRegOpts, MQPSPubOpts and MQPSDelOpts tag-names can be repeated with different values. The effect is cumulative.
For example, to register an anonymous local publisher on topic 'News', the following NameValueString is needed:
MQPSCommand RegPub MQPSRegOpts Anon MQPSRegOpts Local MQPSTopic News
Home