Hi. I have the following “arquitecture”:
smack library <----
-> Wildfire Server <–
If in my custom code i do:
in the Spark client sometimes i receive both messages and sometimes only the first.
In the other hand, if i do:
then the Spark client always receives both messages.
In the debugger i can see the xmpp traffic is exactly the same in both cases (with the sleep() and without it).
I’'ve tried both with smack 2 and smack 3.
What could be the problem? XMPP does not guarantee delivery of messages? is this an implementation issue? who is the “culprit” (smack, wildfire, spark…)?