Home |
Previous Page | Next Page MQ DataBlade Module > MQ DataBlade Functions > MQPublish() >
3
3
3
3
3
3>>-MQPUBLISH--(--+---------------------------------------+--msg_data-->
3 '-publisher_name--,--+----------------+-'
3 '-policy_name--,-'
3
3 (1)
3>--+----------+--+--------------+--)---------------------------><
3 '-,--topic-' '-,--correl_id-'
3
3
3
3
3
3Notes:
3
3- See the Usage section for argument interpretation.
3
3
3- publisher_name
3- Optional parameter. Refers to the value in the pubsubname column
3of the "informix".mqipubsub table. If publisher_name is
3not specified, IDS.DEFAULT.PUBLISHER is used as the publisher. The
3maximum length of publisher_name is 48 bytes.
3
3- policy_name
3- Optional parameter. Refers to the value in the policyname column
3of the "informix".mqipolicy table. If policy_name is
3not specified, IDS.DEFAULT.PUB.SUB.POLICY is used as the policy.
3The maximum size of policy_name is 48 bytes.
3
3- msg_data
3- Required parameter. A string containing the data to be sent
3by WMQ. The maximum size of the string is defined by the LVARCHAR
3data type.
3
3- topic
3- Optional parameter. A string containing the topic for the
3message publication. The maximum size of a topic is 40 bytes. Multiple
3topics can be specified in one string (up to 40 characters long).
3Each topic must be separated by a colon. For example, "t1:t2:the
3third topic" indicates that the message is associated with all three
3topics: t1, t2, and the third topic. If no topic is specified, none
3are associated with the message.
3
3- correl_id
3- Optional parameter. A string containing a correlation identifier
3to be associated with this message. The correl_id is
3often specified in request and reply scenarios to associate requests
3with replies. The maximum size of correl_id is
324 bytes. If not specified, no correlation ID is added to the message.
3
3
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]