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