Fixed the publishMessage() and consumeMessage() functions to work with new structure to support multiple queues
Merge pull request #13 from DoSomething/publish-consume-fix

Fixed the publishMessage() and consumeMessage() functions