match queue items by context