Home | Previous Page | Next Page   MQ DataBlade Module > MQ DataBlade Functions > MQPublish() > 3 3 3

Usage

3

The MQPublish() function publishes 3data to WMQ. It requires the installation of the WMQ Publish/Subscribe 3component of WMQ, and that the Message Broker is running.

3

The MQPublish() function publishes the 3data contained in msg_data to the WMQ publisher 3specified in publisher_name, using the quality 3of service policy defined by policy_name.

3

The following table describes how the arguments for the MQPublish() function 3are interpreted. 3

3 3333333333333333333333333333333
Table 9. MQPublish() argument interpretation
Usage Argument Interpretation
MQPublish(arg1) arg1 = msg_data
MQPublish(arg1, arg2) 3
arg1 = msg_data
3arg2 = topic
3
MQPublish(arg1, arg2, arg3) 3
arg1 = publisher_name
3arg2 = msg_data
3arg3 = topic
3
MQPublish(arg1, arg2, arg3, arg4) 3
arg1 = publisher_name
3arg2 = policy_name
3arg3 = msg_data
3arg4 = topic
3
MQPublish(arg1, arg2, arg3, arg4, arg5) 3
arg1 = publisher_name
3arg2 = policy_name
3arg3 = msg_data
3arg4 = topic
3arg5 = correl_id
3
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]