Put method
Places a message onto the queue.
This method takes an MQMessage object as a parameter. The Message Descriptor (MQMD) properties of this object might be altered as a result of this method. The values they have immediately after this method has run are the values that were put onto the IBM MQ .
Modifications to the MQMessage object after the Put has completed do not affect the actual message on the IBM MQ queue.
- Defined in:
- MQQueue class
Syntax:
Call MQQueue.Put(Message, PutMsgOptions)
- Parameters
- Message
MQMessage object representing message to be put.
PutMsgOptions
MQPutMessageOptions object containing options to control the put operation. If these are not specified, default PutMessageOptions are used.