Home
Sending PCF messages to a specified queue
To send a message to a specified queue, the mqPutBag call converts the contents of the specified bag into a PCF message and sends the message to the specified queue. The contents of the bag are left unchanged after the call.
As input to this call, supply:
- An MQI connection handle.
- An object handle for the queue on which the message is to be placed.
- A message descriptor. For more information about the message descriptor, see the WebSphere MQ Application Programming Reference.
- Put Message Options using the MQPMO structure. For more information about the MQPMO structure, see the WebSphere MQ Application Programming Reference.
- The handle of the bag to be converted to a message.
If the bag contains an administration message and the mqAddInquiry call was used to insert values into the bag, the value of the MQIASY_COMMAND data item must be an INQUIRE command recognized by the MQAI.
For a full description of the mqPutBag call, see mqPutBag.
Parent topic:
Putting and receiving data bags
pc15740_
Home