add index for queue and topic