# File lib/stomp_server/queue/file_queue.rb, line 18
  def _writeframe(dest,frame_todump,msgid)
    filename = "#{@queues[dest][:queue_dir]}/#{msgid}"
    frame = frame_todump.dup
    frame_body = frame.body
    frame.body = ''
    frame_image = Marshal.dump(frame)
    framelen = sprintf("%08x", frame_image.length)
    bodylen = sprintf("%08x", frame_body.length)
    File.open(filename,'wb') {|f| f.syswrite("#{framelen}#{bodylen}#{frame_image}#{frame_body}")}
    return true
  end