i am new to XMPP. I was working on sending a mesage from one client and receiving it at the other end. It worked fine. i used Smack API.
Now, I want to store all the messages that has been received by the XMPP server and store it in a DB. This is for the admin.
Initially I thought of having a Global acct so that all the sender shld send one packet to their intended receiver and one packet to the global acct. But sending two packets might be costlier.
Is there any other way to perform this?
Thanks in advance