This figure describes WebLogic Server MDB batch transaction processing. Internally, WebLogic Server creates a transaction for a batch. A message is added to the transaction until the number of messages in the transaction is equal to the batch size defined by max-messages-in-transaction. When the number of messages in the equals max-messages-in-transaction or there is no next message to be added to the transaction, the transaction is submitted for processing.