Gateing queue setup.