get

 

public void get(MQMessage message) throws MQException;

Retrieves a message from the queue, using default get message options. It uses an option setting of MQC.MQGMO_NO_WAIT.

Parameters

  • message - an input/output parameter which contains the message descriptor information and the returned message data. On input, some of the fields are used as input parameters, in particular messageId and correlationId. It is important to ensure that these are set as required.

Exceptions

  • MQException - if the get fails.


uj14590_