commit

 

public void commit() throws MQException;

Indicates to the queue manager that the application has reached a syncpoint. All the message gets and puts that have occurred since the last syncpoint are to be made permanent. Messages sent as part of a unit of work (with the MQC.MQPMO_SYNCPOINT flag set in MQPutMessageOptions.options) are made available to other applications. Messages retrieved as part of a unit of work (with the MQC.MQGMO_SYNCPOINT flag set in MQGetMessageOptions.options) are deleted.

Exceptions

  • MQException - if the call fails.


uj15130_