queue adapter