I am connecting to XMPP server using asmack library from android. Everything works fine except a problem in receiving large offline messages.
As soon as I login, I am getting small messages sent by other user while was in offline mode. But if they are sending some big messages if I was in offline mode, then I am not getting those messages when I login.
Please help me to find a solution.
This is what log cat shows:
07-23 13:14:01.070: D/SMACK(16682): RCV (0): <message from='139@192.168.10.241' to='143@192.168.10.241/false' type='error' id='9lxwn-146'><state xmlns='jabber:state:event'><composing>true</composing></state><error code='500' type='wait'><resource-constraint xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Your contact offline message queue is full. The message has been discarded.</text></error></message><message from='139@192.168.10.241' to='143@192.168.10.241/false' type='error' id='9lxwn-145'><state xmlns='jabber:state:event'><composing>true</composing></state><error code='500' type='wait'><resource-constraint xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Your contact offline message queue is full. The message has been discarded.</text></error></message><message from='139@192.168.10.241' to='143@192.168.10.241/false' type='error' id='9lxwn-144'><state xmlns='jabber:state:event'><composing>true</composing></state><error code='500' type='wait'><resource-constraint xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Your contact offline message queue is full. The message has been discarded.</text></error></message>
Main error is this:
Your contact offline message queue is full. The message has been discarded.