commit
public void commit() throws JMSException;
Commits all messages done in this transaction and releases any locks currently held. This always throws a JMSException when you have a direct connection to a broker.
- Exceptions
- JMSException - with one of the following reasons:
- MQJMS_E_SESSION_CLOSED
- MQJMS_E_SESSION_NOT_TRANSACTED
- MQJMS_EXCEPTION_MQ_NULL_QMGR
- MQJMS_EXCEPTION_TRANSACTION_ROLLED_BACK
- MQJMS_EXCEPTION_MQ_QM_COMMIT_FAILED
uj30060_