powered by Jive Software

How to find the IQ sender

Hello,

I am using a custom IQ provider, my question is, is it possible to determine the sender of the IQ message in the parseIQ method ? the idea is, I want to determine who is sending the message, such that I can reply accordingly, in a customized manner.

I have tried to use a PacketListener, however, since my packet is a custom IQ, only the customIQProvider class is called whenever I receive a custom IQ message, and the listener is not activated.

Any help would be appreciated.

Thanks