# File lib/stomp_server/protocols/stomp.rb, line 99
  def subscribe(frame)
    use_ack = false
    use_ack = true  if frame.headers['ack'] == 'client'
    if frame.dest =~ %r|^/queue|
      @@queue_manager.subscribe(frame.dest, self,use_ack)
    else
      @@topic_manager.subscribe(frame.dest, self)
    end
  end