When a HornetTextMessage is created, method writeNullableSimpleString is used to set the payload of the message. In order to read its contents correctly, readNullableSimpleString has to be used.
Merge pull request #1623 from AddictedCS/hotfix-reading-nullable-string

HornetQTextMessage sets payload as SimpleString
https://issues.jboss.org/browse/HORNETQ-1345 - refactor all cluster communications to its own channel