Interface the queue factory.