If the Session Type in the Open MQ Session task is set to Transacted when a session is opened, none of the messages in the queue are transacted until the session is closed. The MQ Commit/Rollback task provides the ability to commit a message or roll it back, in the case of an error, before the session is closed.
The MQ Commit/Rollback task is useful if processing messages in a Loop. It can manually process messages at a set point in the Loop or if in the event of an error, it can rollback all messages received since the last successful commit.
Using the MQ Commit/Rollback task will produce an error if the Session Type in the Open MQ Session task is set to Normal. The normal session type auto-commits each message as it is processed.