def tx_commit(self):
self._send_method((<NUM_LIT>, <NUM_LIT:20>))<EOL>return self.wait(allowed_methods=[<EOL>(<NUM_LIT>, <NUM_LIT>),  <EOL>])<EOL>
Commit the current transaction

        This method commits all messages published and acknowledged in
        the current transaction.  A new transaction starts immediately
        after a commit.