- Changed how message is retrieved from the queue.