renaming function to get queue prefix and so on