Search code examples
androidxmppejabberdpublish-subscribesmack

what publish subscribe on XMPP can make offline message like MQTT qos=2?


XMPP Server was provide us to get history with Retrieve feature. But my question is can I get item or message just between since offline date to online date?

My scenario is as follow: User2 has subscribe topic A but user2 disconnect for few second and reconnect. when user2 disconnect, user1 publish message to topic A.

And i cant get that message...

Please help.


Solution

  • Your server have to support XEP-0013 extension. Ejabbered supports it only in Business Edition, which is paid. Consider using OpenFire.