put

 

public void put(String qName, String qmName, MQMessage msg, 
                MQPutMessageOptions pmo) throws MQException;

Puts a single message on to a (possibly unopened) queue. If a send exit has been specified it processes the message before it is sent.

Parameters

  • qName - the name of the queue to which the message is put.

  • qmName - the name of the queue manager which holds the queue.

  • msg - the message to be sent.

  • pmo - the put message options to use.

Exceptions

  • MQException - if the WebSphere MQ put call fails.


uj15300_