Added support for getMessageQueue() method