put

 

public void put(String qName, MQMessage msg) 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.

  • msg - the message to be sent.

Exceptions

  • MQException - if the WebSphere MQ put call fails.


uj15270_