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