added a queueExists method on queue manager