[CLC-2653] Nil guard around empty payloads
Merge pull request #1740 from yuhunglin/CLC-2653

[CLC-2653] Nil guard around empty ActiveMQ payloads