Queue name is obtained either from the path or from parameters