Home

 

Optional parameters

QMgrName

name:

"MQPSQMgrName"   (string constant: MQPS_Q_MGR_NAME)

value:

The publisher's queue manager name.

For a message sent by a publisher, the default is the ReplyToQMgr name in the message descriptor (MQMD). If the resulting name is blank, it represents a publisher that can be reached by resolving QName at the broker.

For a message sent by a broker, QMgrName is present only if DirectReq is set in the RegistrationOptions tag.

QName

name:

"MQPSQName"   (string constant: MQPS_Q_NAME)

value:

The publisher's queue name.

For a message sent by a publisher, the default is the ReplyToQ name in the message descriptor (MQMD), which must not be blank in this case.

For a message sent by a broker, QName is present only ifDirectReq is set in the RegistrationOptions tag.

RegistrationOptions

name:

"MQPSRegOpts"   (string constant: MQPS_REGISTRATION_OPTIONS)

value:

The following registration options can be specified:

"Anon"  

(string constant: MQPS_ANONYMOUS, integer constant: MQREGO_ANONYMOUS)

Tells the broker that the identity of the publisher is not to be divulged, except to subscribers with additional authority.

"CorrelAsId"  

(string constant: MQPS_CORREL_ID_AS_IDENTITY, integer constant: MQREGO_CORREL_ID_AS_IDENTITY)

The CorrelId in the message descriptor, MQMD, (which must not be zero) is part of the publisher's identity.

"DirectReq"  

(string constant: MQPS_DIRECT_REQUESTS, integer constant: MQREGO_DIRECT_REQUEST)

Tells the recipient that the publisher is willing to receive direct requests for publication information from other applications (that is, not just from the broker).

This option must not be set ifAnon is also set.

"Local"  

(string constant: MQPS_LOCAL, integer constant: MQREGO_LOCAL)

Tells the broker that publications published by this publisher should be sent only to subscribers that registered on this broker specifyingLocal.

If the RegistrationOptions parameter is omitted and the publisher is already registered, its registration options are unchanged. If the publisher is not already registered, the default is that no registration options are set.

StreamName

name:

"MQPSStreamName"   (string constant: MQPS_STREAM_NAME)

value:

The name of the publication stream for the specified Topic(s).

The default value is SYSTEM.BROKER.DEFAULT.STREAM.



 

Home