powered by Jive Software

processMessage() callback parameter message has only one body while smack debug logs shows 2 bodies

Hi, I am sending 2 bodies in a single message and send is successful. But when I try to receive the 2 body message using the processMessage(), the message parameter gives me just the first body though the Smack debug logs show me the 2 bodies of the message. Help needed…

Message.getBodies()

Note that the bodies must have different xml language attributes.