# File lib/stomp/connection.rb, line 269
    def commit(name, headers = {})
      raise Stomp::Error::NoCurrentConnection if closed?
      headers = headers.symbolize_keys
      headers[:transaction] = name
      _headerCheck(headers)
      transmit(Stomp::CMD_COMMIT, headers)
    end