# Understanding Transaction Management

There are two modes of transaction management supported by the MQSeries control, as follows:

- Implicit Transaction Management
- Explicit Transaction Management

### Implicit Transaction Management

The implicit transaction mode is selected by default. When this mode is on, the MQSeries control handles the transaction for each MQSeries Get or Put function. The following diagram describes the how an implicit transaction is handled by the MQSeries control.

When you use implicit transaction, you cannot group several Get and Put functions together as a part of a transactional unit. Implicit transaction handles each Get or Put individually within a transaction boundary.

### Explicit Transaction Management

The explicit transaction mode is enabled if you choose not to use implicit transaction while configuring the MQSeries control. In the explicit transaction mode, you need to set the transaction boundaries explicitly, using the Begin and Commit (or Rollback) MQSeries control functions.

The following flow diagram describes the process of creating a workflow using the explicit transaction mode.