Move queue config validation to the Queue class