When "autocommit" is set to "off", when will the change be committed?
book
Article ID: KB0088014
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Message Service
-
Not Applicable
-
Description
Resolution: Description: =============
When "autocommit" is set to "off", the change made through tibemsadmin or the EMS Admin API will be committed under the following situations:
- Issue "commit" command explicitly.
- The user that makes the change disconnects the EMS Admin connection without explicitly committing the change and then makes the EMS admin connection to the EMS server again.
- The user does not commit the change in one EMS Admin connection, then creates another new EMS Admin connection.
- Any other user with administrative permissions runs commands (i.e show queues, etc.) through the EMS admin connection at the same time.
Note that setting "autocommit" to "off" only allows the user to commit all the changes in one attempt at a later time. The change is stored in EMS memory and can not be cancelled unless the user restarts the EMS server without explicitly committing the change.